Improve add atendees for agenda

This commit is contained in:
Peter Maquiran
2021-04-08 20:11:25 +01:00
parent 64cc4cf79b
commit 74cd2bc26f
5 changed files with 23 additions and 11 deletions
+5 -4
View File
@@ -10,7 +10,7 @@ import { AlertService } from 'src/app/services/alert.service';
import { momentG } from 'src/plugin/momentG';
import { DomSanitizer } from "@angular/platform-browser";
import { EventPerson } from 'src/app/models/eventperson.model';
import { removeDuplicate } from 'src/plugin/removeDuplicate.js'
// showTimeline
import { setHours, setMinutes } from 'date-fns';
@@ -1045,12 +1045,12 @@ export class AgendaPage implements OnInit {
}
async setIntervenient(data) {
this.taskParticipants = data;
this.taskParticipants = removeDuplicate(data)
}
async setIntervenientCC(data) {
this.taskParticipantsCc = data;
this.taskParticipantsCc = removeDuplicate(data)
}
// Emitters
@@ -1063,4 +1063,5 @@ export class AgendaPage implements OnInit {
this.postEvent = false;
}
}
}