mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Rename shared component attendee
This commit is contained in:
@@ -19,8 +19,7 @@ export class AttendeeModalPage implements OnInit {
|
||||
|
||||
constructor(private modalCtrl: ModalController, private contactsService: ContactsService) { }
|
||||
|
||||
@Output() openAttendeesComponent = new EventEmitter<any>();
|
||||
@Output() GoBackEditOrAdd = new EventEmitter<any>();
|
||||
@Output() closeComponent = new EventEmitter<any>();
|
||||
@Output() setContact = new EventEmitter<any>();
|
||||
|
||||
ngOnInit() {
|
||||
@@ -29,16 +28,15 @@ export class AttendeeModalPage implements OnInit {
|
||||
}
|
||||
|
||||
save(){
|
||||
|
||||
// set data to agenda component
|
||||
this.setContact.emit(this.selectedContact);
|
||||
this.GoBackEditOrAdd.emit();
|
||||
this.closeComponent.emit();
|
||||
}
|
||||
|
||||
close(){
|
||||
// this.modalCtrl.dismiss(null);
|
||||
this.selectedContact = [];
|
||||
this.GoBackEditOrAdd.emit();
|
||||
this.closeComponent.emit();
|
||||
}
|
||||
|
||||
onChange(evt: any) {
|
||||
@@ -46,7 +44,7 @@ export class AttendeeModalPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
checkbox(itm: EventPerson): boolean {
|
||||
filterSearchList(itm: EventPerson): boolean {
|
||||
const result = this.selectedContact.find((contact, index)=>{
|
||||
|
||||
if(contact.Name == itm.Name && contact.EmailAddress == itm.EmailAddress){
|
||||
|
||||
Reference in New Issue
Block a user