imporve attendie and add video upload

This commit is contained in:
Peter Maquiran
2024-01-06 20:37:49 +01:00
parent 15e9b312e3
commit eb790266f1
21 changed files with 657 additions and 165 deletions
@@ -26,6 +26,7 @@ export class AttendeesPageModal implements OnInit {
taskParticipantsCc:EventPerson[] = [];
loggeduser: LoginUserRespose;
@Input() loggedAttendSon: boolean;
hideExternalDomain = true;
taskType: any;
@@ -41,6 +42,7 @@ export class AttendeesPageModal implements OnInit {
this.taskParticipants = this.navParams.get('taskParticipants');
this.taskParticipantsCc = this.navParams.get('taskParticipantsCc');
this.taskType = this.navParams.get('taskType');
this.hideExternalDomain = this.navParams.get('hideExternalDomain');
this.loggeduser = SessionStore.user;
@@ -134,8 +136,15 @@ export class AttendeesPageModal 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 => {