This commit is contained in:
Peter Maquiran
2021-03-25 15:18:12 +01:00
parent f072ff46f6
commit e0d4c595fe
6 changed files with 69 additions and 31 deletions
@@ -20,6 +20,7 @@ export class AttendeesPage implements OnInit {
@Output() openAttendeeModal = new EventEmitter<any>();
@Output() openAddEvent = new EventEmitter<any>();
@Input() eventAttendees: EventPerson[];
@Output() GoBackEditOrAdd = new EventEmitter<any>();
constructor(private eventService: EventsService, private modalCtrl: ModalController,
@@ -31,13 +32,15 @@ export class AttendeesPage implements OnInit {
}
save(){
this.openAddEvent.emit();
this.GoBackEditOrAdd.emit();
//this.openAddEvent.emit();
// this.modalCtrl.dismiss(this.eventAttendees);
}
close(){
this.GoBackEditOrAdd.emit();
// this.modalCtrl.dismiss(null);
this.openAddEvent.emit();
//this.openAddEvent.emit();
}
removeAttendee(attendee: EventPerson)