fix moderationStarts issues
This commit is contained in:
parent
1c4af82126
commit
3e02cbb353
@ -138,7 +138,7 @@ export class JitsiComponent implements OnInit {
|
||||
}
|
||||
|
||||
open(jitsiRoom: any, moderation: boolean) {
|
||||
return (moderation || !jitsiRoom.starts || Date.parse(jitsiRoom.starts) < new Date().getTime()) && (!jitsiRoom.expires || Date.parse(jitsiRoom.expires) > new Date().getTime()) && (!moderation || (jitsiRoom.moderationStarts != null && Date.parse(jitsiRoom.moderationStarts) < new Date().getTime()));
|
||||
return (moderation && jitsiRoom.moderationStarts != null || !jitsiRoom.starts || Date.parse(jitsiRoom.starts) < new Date().getTime()) && (!moderation || jitsiRoom.moderationStarts == null || Date.parse(jitsiRoom.moderationStarts) < new Date().getTime());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -35,6 +35,7 @@
|
||||
"delete": "Löschen",
|
||||
"error": {
|
||||
"expires": "Ungültiges Ende.",
|
||||
"moderationStarts" : "Ungültiger Beginn Moderation. Moderation muss vor Beginn liegen.",
|
||||
"room": "Bitte gebe einen anderen Namen an. Der Name ist schon vergeben oder enthält ungültige Zeichen. Erlaubt sind nur Buchstaben und Zahlen.",
|
||||
"starts": "Ungültiger Beginn."
|
||||
},
|
||||
|
@ -35,6 +35,7 @@
|
||||
"delete": "Delete",
|
||||
"error": {
|
||||
"expires": "Invalid expiry.",
|
||||
"moderationStarts" : "Invalid moderation starts. Moderation have to start before conference starts",
|
||||
"room": "Please choose a different name. The name is already taken or contains invalid characters. Only letters and numbers are allowed.",
|
||||
"starts": "Invalid start."
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user