This commit is contained in:
tiago.kayaya
2021-09-15 15:39:55 +01:00
parent 0e8cb6258a
commit 8f52a10ec9
3 changed files with 14 additions and 6 deletions
@@ -189,7 +189,7 @@ export class EditEventPage implements OnInit {
}
this.postEvent.Attendees = this.taskParticipants.concat(this.taskParticipantsCc)
this.postEvent.EventRecurrence.Type = this.selectedRecurringType;
this.eventsService.editEvent(this.postEvent, 2, 3).subscribe(async () => {
@@ -204,7 +204,7 @@ export class EditEventPage implements OnInit {
finally {
this.goBack();
}
}
this.toastService.successMessage();
@@ -213,7 +213,7 @@ export class EditEventPage implements OnInit {
});
this.isEventEdited = true;
this.modalController.dismiss(this.isEventEdited);
@@ -285,7 +285,7 @@ export class EditEventPage implements OnInit {
if(newAttendeesCC) {
this.setIntervenientCC(newAttendeesCC);
}
}
});
}
@@ -335,6 +335,9 @@ export class EditEventPage implements OnInit {
this.loadedEventAttachments[index]['remove'] = true
}
this.attachmentsService.deleteEventAttachmentById(attachmentID).subscribe(res => {
console.log(res);
});
}