diff --git a/src/frontend/app/administration/contact/list/export/contact-export.component.ts b/src/frontend/app/administration/contact/list/export/contact-export.component.ts index 33e388c73f6911d55cbe568fc7941dc4bfde589b..4abd0ac3f3ae734bf8b0c0365d12ec75061a2b9c 100644 --- a/src/frontend/app/administration/contact/list/export/contact-export.component.ts +++ b/src/frontend/app/administration/contact/list/export/contact-export.component.ts @@ -32,7 +32,24 @@ export class ContactExportComponent implements OnInit { exportModelList: any; - dataAvailable: any[] = []; + dataAvailable: any[] = [ + { + value: 'id', + label: this.lang.id + }, + { + value: 'externalId', + label: 'External Id' + }, + { + value: 'enabled', + label: this.lang.status + }, + { + value: 'communicationMeans', + label: this.lang.communicationMean + } + ]; @ViewChild('listFilter', { static: true }) private listFilter: any; @@ -62,7 +79,7 @@ export class ContactExportComponent implements OnInit { return data.contactsParameters; }), tap((fields: any) => { - this.dataAvailable = fields; + this.dataAvailable = this.dataAvailable.concat(fields); }), exhaustMap(() => this.http.get('../../rest/contactsCustomFields')), map((data: any) => {