Fix condition typo that prevented meeting creation

This commit is contained in:
QuentinArguillere 2024-10-10 15:50:43 +02:00
parent 4666678f37
commit 0b28aa5179

View file

@ -238,7 +238,7 @@ class MeetingViewModel: ObservableObject {
}
func schedule() {
guard !subject.isEmpty && participants.isEmpty else {
guard !subject.isEmpty && !participants.isEmpty else {
Log.error("\(MeetingViewModel.TAG) Either no subject was set or no participant was selected, can't schedule meeting.")
DispatchQueue.main.async {
ToastViewModel.shared.toastMessage = "Failed_no_subject_or_participant"