From 68b699ea63132716e668065aaddb2f2e5b96e7c3 Mon Sep 17 00:00:00 2001 From: gkolokythas Date: Mon, 29 Jul 2019 11:20:42 +0300 Subject: [PATCH] Fixes bug not showing the chip label of external references on Dataset Description edit. --- .../dataset-external-references-editor.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmp-frontend/src/app/ui/dataset/dataset-wizard/external-references/dataset-external-references-editor.component.ts b/dmp-frontend/src/app/ui/dataset/dataset-wizard/external-references/dataset-external-references-editor.component.ts index 149914669..eb950d7ba 100644 --- a/dmp-frontend/src/app/ui/dataset/dataset-wizard/external-references/dataset-external-references-editor.component.ts +++ b/dmp-frontend/src/app/ui/dataset/dataset-wizard/external-references/dataset-external-references-editor.component.ts @@ -81,7 +81,7 @@ export class DatasetExternalReferencesEditorComponent extends BaseComponent impl this.dataRepositoriesAutoCompleteConfiguration = { filterFn: this.searchDatasetExternalDataRepositories.bind(this), initialItems: (type) => this.searchDatasetExternalDataRepositories('', type), - displayFn: (item) => item ? item.label : null, + displayFn: (item) => item ? item.name : null, titleFn: (item) => item ? item.name : null, subtitleFn: (item) => item ? item.tag : null };