From f11686257c97c3cbcd1a48a3b3d51a7d8a739be6 Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Tue, 13 May 2025 15:16:33 +0530 Subject: [PATCH] fix lineage column icon and entity summary panel owner label not visible (#21160) --- .../Entity/EntityLineage/custom-node.less | 6 +- .../CommonEntitySummaryInfo.tsx | 84 ++++++++----------- 2 files changed, 34 insertions(+), 56 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/custom-node.less b/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/custom-node.less index 40e96be1207..374908dc9c8 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/custom-node.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/custom-node.less @@ -86,16 +86,12 @@ border-radius: 0; .ant-collapse-header { - padding: 0; + padding: 4px; font-size: 12px; .custom-node-column-container { background-color: @lineage-collapse-header; } - - .lineage-column-node-handle { - background-color: @lineage-collapse-header; - } } .ant-collapse-content-box { diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Explore/EntitySummaryPanel/CommonEntitySummaryInfo/CommonEntitySummaryInfo.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Explore/EntitySummaryPanel/CommonEntitySummaryInfo/CommonEntitySummaryInfo.tsx index f180d3357ea..8581514d0d2 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Explore/EntitySummaryPanel/CommonEntitySummaryInfo/CommonEntitySummaryInfo.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Explore/EntitySummaryPanel/CommonEntitySummaryInfo/CommonEntitySummaryInfo.tsx @@ -31,61 +31,43 @@ function CommonEntitySummaryInfo({ return ( {entityInfo.map((info) => { - const isOwner = info.name === t('label.owner-plural'); const isDomain = isDomainVisible && info.name === t('label.domain'); return info.visible?.includes(componentType) || isDomain ? ( - - {!isOwner ? ( - <> - - - {info.name} - - - - {info.isLink ? ( - - {info.value} - {info.isExternal ? ( - - ) : null} - - ) : ( - - {info.value} - - )} - - - ) : ( - - {info.value} - - )} + + + + {info.name} + + + + {info.isLink ? ( + + {info.value} + {info.isExternal ? ( + + ) : null} + + ) : ( + + {info.value} + + )} + ) : null;