mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
remove alert
This commit is contained in:
@@ -44,10 +44,12 @@ export class AttendeeModalPage implements OnInit {
|
||||
if(this.taskParticipantsCc == null || this.taskParticipantsCc == undefined) {
|
||||
this.taskParticipantsCc = [];
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
ngOnChanges(event){}
|
||||
ngOnChanges(event){
|
||||
|
||||
}
|
||||
|
||||
save(){
|
||||
this.setIntervenient.emit(this.taskParticipants);
|
||||
@@ -61,6 +63,32 @@ export class AttendeeModalPage implements OnInit {
|
||||
this.setIntervenient.emit(this.taskParticipants);
|
||||
this.setIntervenientCC.emit(this.taskParticipantsCc);
|
||||
}
|
||||
|
||||
console.log('data', this.taskParticipants, this.taskParticipantsCc );
|
||||
this.dynamicSetIntervenient.emit({
|
||||
taskParticipants: this.taskParticipants,
|
||||
taskParticipantsCc: this.taskParticipantsCc
|
||||
})
|
||||
}
|
||||
|
||||
async selectContact(itm: EventPerson){
|
||||
|
||||
if(this.adding == "intervenient") {
|
||||
|
||||
itm.IsRequired = true;
|
||||
this.taskParticipants.push(itm);
|
||||
|
||||
} else if (this.adding == "CC") {
|
||||
|
||||
itm.IsRequired = false;
|
||||
this.taskParticipantsCc.push(itm);
|
||||
} else {
|
||||
// alert('bug')
|
||||
}
|
||||
|
||||
// run only in gabinete digital
|
||||
|
||||
this.setContactWithClose();
|
||||
}
|
||||
|
||||
close(){
|
||||
@@ -130,32 +158,11 @@ export class AttendeeModalPage implements OnInit {
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
this.dynamicSetIntervenient.emit({
|
||||
taskParticipants: this.taskParticipants,
|
||||
taskParticipantsCc: this.taskParticipantsCc
|
||||
})
|
||||
|
||||
this.setContactWithClose();
|
||||
|
||||
}
|
||||
|
||||
async selectContact(itm: EventPerson){
|
||||
|
||||
if(this.adding == "intervenient"){
|
||||
|
||||
itm.IsRequired = true;
|
||||
this.taskParticipants.push(itm);
|
||||
|
||||
} else if (this.adding == "CC") {
|
||||
|
||||
itm.IsRequired = false;
|
||||
this.taskParticipantsCc.push(itm);
|
||||
}
|
||||
|
||||
// run only in gabinete digital
|
||||
this.setContactWithClose();
|
||||
}
|
||||
|
||||
async fetchContacts(filter: string) {
|
||||
this.showLoader = true;
|
||||
|
||||
Reference in New Issue
Block a user