From ac700ec681069cb8cf0feb727b028c920284c62b Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 24 Feb 2022 14:01:39 +0100 Subject: [PATCH] orga-select: remove alternateName usage alternateName no longer exists --- packages/organization-select/src/organization-select.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/organization-select/src/organization-select.js b/packages/organization-select/src/organization-select.js index d28a5c69..b74f172e 100644 --- a/packages/organization-select/src/organization-select.js +++ b/packages/organization-select/src/organization-select.js @@ -120,7 +120,7 @@ export class OrganizationSelect extends AdapterLitElement { this._clearSelect2(); const data = this.organizations.map((item) => { - return {id: item.object['@id'], text: item.code + ' ' + item.name}; + return {id: item.object['@id'], text: item.name}; }); data.sort((a, b) => { @@ -264,7 +264,6 @@ export class OrganizationSelect extends AdapterLitElement { for (let org of data['hydra:member']) { let organization = { id: org.identifier, - code: org.alternateName, name: org.name, url: org.url, value: org['@id'], -- GitLab