Improve agenda edit event

This commit is contained in:
Peter Maquiran
2021-04-09 10:33:19 +01:00
parent be05264925
commit ab9f73b621
4 changed files with 190 additions and 184 deletions
@@ -116,10 +116,10 @@ export class NewEventPage implements OnInit {
this.postEvent.Attendees = this.taskParticipants;
if(this.profile=='mdgpr'){
if(this.profile=='mdgpr') {
this.eventService.postEventMd(this.postEvent, this.postEvent.CalendarName).subscribe();
}
else if(this.profile=='pr'){
else if(this.profile=='pr') {
this.eventService.postEventPr(this.postEvent, this.postEvent.CalendarName).subscribe();
}
@@ -134,6 +134,9 @@ export class NewEventPage implements OnInit {
async addParticipants() {
this.saveTemporaryData();
this.openAttendeesComponent.emit({
type: "intervenient"
});
@@ -142,6 +145,9 @@ export class NewEventPage implements OnInit {
}
async addParticipantsCc() {
this.saveTemporaryData();
this.openAttendeesComponent.emit({
type: "CC"
});