mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
imporve attendie and add video upload
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user