mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Fixe bug for Attendees component in agenda
This commit is contained in:
@@ -21,6 +21,7 @@ export class AttendeeModalPage implements OnInit {
|
||||
|
||||
@Output() openAttendeesComponent = new EventEmitter<any>();
|
||||
@Output() GoBackEditOrAdd = new EventEmitter<any>();
|
||||
@Output() setContact = new EventEmitter<any>();
|
||||
|
||||
ngOnInit() {
|
||||
this.fetchContacts("");
|
||||
@@ -30,14 +31,15 @@ export class AttendeeModalPage implements OnInit {
|
||||
save(){
|
||||
|
||||
// set data to agenda component
|
||||
this.openAttendeesComponent.emit(this.selectedContact);
|
||||
this.setContact.emit(this.selectedContact);
|
||||
// got back
|
||||
this.GoBackEditOrAdd.emit();
|
||||
}
|
||||
|
||||
close(){
|
||||
// this.modalCtrl.dismiss(null);
|
||||
this.openAttendeesComponent.emit(false);
|
||||
this.selectedContact = [];
|
||||
this.GoBackEditOrAdd.emit();
|
||||
}
|
||||
|
||||
onChange(evt: any) {
|
||||
|
||||
Reference in New Issue
Block a user