Improve add event

This commit is contained in:
2021-02-24 20:34:17 +01:00
parent 388aa6d2d4
commit 7751d3ca06
2 changed files with 19 additions and 25 deletions
@@ -90,10 +90,7 @@ export class NewEventPage implements OnInit {
}
}
close(){
this.onAddEvent.emit({
type:'close',
data: this.postEvent
});
this.onAddEvent.emit(false);
}
save(){
@@ -104,10 +101,7 @@ export class NewEventPage implements OnInit {
this.eventService.postEventPr(this.postEvent, this.postEvent.CalendarName).subscribe();
}
this.onAddEvent.emit({
type:'save',
data: this.postEvent
});
this.onAddEvent.emit(this.postEvent);
}
async openAttendees()