mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
imporve attendie and add video upload
This commit is contained in:
@@ -32,6 +32,9 @@ export class AttendeePage implements OnInit {
|
||||
@Output() dynamicSetIntervenient = new EventEmitter<any>();
|
||||
|
||||
|
||||
@Input() hideExternalDomain = true;
|
||||
|
||||
|
||||
@Input() taskParticipants: EventPerson[] = [];
|
||||
@Input() taskParticipantsCc: EventPerson[] = [];
|
||||
@Input() loggedAttendSon: boolean;
|
||||
@@ -231,7 +234,15 @@ export class AttendeePage implements OnInit {
|
||||
async fetchContacts(filter: string) {
|
||||
this.showLoader = true;
|
||||
|
||||
this.contactsService.getContacts(filter).subscribe(result => {
|
||||
this.contactsService.getContacts(filter).subscribe(_result => {
|
||||
|
||||
let result
|
||||
if(this.hideExternalDomain) {
|
||||
result = _result.filter( e => e.UserType == 'GD')
|
||||
} else {
|
||||
result = _result
|
||||
}
|
||||
|
||||
if (this.eventPersons != null) {
|
||||
this.eventPersons.forEach(attendee => {
|
||||
const index: number = result.findIndex((cont) => {
|
||||
|
||||
Reference in New Issue
Block a user