From 3f0d936e31d96d60c9dee1eb46dec5f71e9f338a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 14 Aug 2024 18:41:41 -0400 Subject: [PATCH] #210 - Change label for Schema tab Reference Service --- .../df-relationship-details.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/adf-schema/df-relationship-details/df-relationship-details.component.ts b/src/app/adf-schema/df-relationship-details/df-relationship-details.component.ts index f640e390..eed528ba 100644 --- a/src/app/adf-schema/df-relationship-details/df-relationship-details.component.ts +++ b/src/app/adf-schema/df-relationship-details/df-relationship-details.component.ts @@ -119,7 +119,11 @@ export class DfRelationshipDetailsComponent implements OnInit { }); this.serviceOptions = data['services'].resource.map((item: Service) => { - return { label: item.label, value: item.id, name: item.name }; + return { + label: this.type === 'edit' ? item.type : item.label, + value: item.id, + name: item.name, + }; }); if (this.type === 'edit') {