Skip to content

Commit

Permalink
Merge pull request dreamfactorysoftware#303 from Yi-Jacob/task/210-la…
Browse files Browse the repository at this point in the history
…bel-reference-service

dreamfactorysoftware#210 - Change label for Schema tab Reference Service
  • Loading branch information
thekevinm authored Aug 15, 2024
2 parents daa9470 + 3f0d936 commit 00d9bcd
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 00d9bcd

Please sign in to comment.