mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Edit event from home page
This commit is contained in:
@@ -17,10 +17,8 @@ export class AttendeeModalPage implements OnInit {
|
||||
selectedContact: EventPerson[] =[];
|
||||
eventPersons: EventPerson[];
|
||||
|
||||
@Input() taskParticipants = [];
|
||||
@Input() taskParticipantsCc= [];
|
||||
|
||||
@Input() eventAttendees: EventPerson[];
|
||||
@Input() taskParticipants:EventPerson[] = [];
|
||||
@Input() taskParticipantsCc:EventPerson[] = [];
|
||||
|
||||
constructor(private modalCtrl: ModalController, private contactsService: ContactsService) { }
|
||||
|
||||
@@ -35,9 +33,15 @@ export class AttendeeModalPage implements OnInit {
|
||||
ngOnInit() {
|
||||
this.fetchContacts("");
|
||||
|
||||
this.taskParticipants = this.taskParticipants
|
||||
this.taskParticipantsCc = this.taskParticipantsCc;
|
||||
if(this.taskParticipants == null || this.taskParticipants == undefined){
|
||||
this.taskParticipants = [];
|
||||
}
|
||||
|
||||
if(this.taskParticipantsCc == null || this.taskParticipantsCc == undefined){
|
||||
this.taskParticipantsCc = [];
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ngOnChanges(event){}
|
||||
@@ -67,7 +71,6 @@ export class AttendeeModalPage implements OnInit {
|
||||
this.fetchContacts(evt.detail.value);
|
||||
}
|
||||
|
||||
|
||||
filterSearchList(itm: EventPerson): boolean {
|
||||
|
||||
if(this.adding == "intervenient"){
|
||||
|
||||
Reference in New Issue
Block a user