Skip to content

Commit 0ee7d8c

Browse files
fix: allow edited display name in the UI to reflect editableProperties (#15382)
Co-authored-by: Deepak Garg <[email protected]>
1 parent 9541e41 commit 0ee7d8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datahub-web-react/src/app/entityV2/dataset/DatasetEntity.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ export class DatasetEntity implements Entity<Dataset> {
505505
};
506506

507507
displayName = (data: Dataset) => {
508-
return data?.properties?.name || data.name || data.urn;
508+
return data?.editableProperties?.name || data?.properties?.name || data.name || data.urn;
509509
};
510510

511511
platformLogoUrl = (data: Dataset) => {

0 commit comments

Comments
 (0)