Skip to content

Commit

Permalink
dreamfactorysoftware#210 - Change label for Schema tab Reference Service
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Aug 14, 2024
1 parent 90cc436 commit 3f0d936
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 3f0d936

Please sign in to comment.