mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-19 14:37:52 +00:00
fix lineage column icon and entity summary panel owner label not visible (#21160)
This commit is contained in:
parent
f292fec6c1
commit
f11686257c
@ -86,16 +86,12 @@
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|
||||||
.ant-collapse-header {
|
.ant-collapse-header {
|
||||||
padding: 0;
|
padding: 4px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|
||||||
.custom-node-column-container {
|
.custom-node-column-container {
|
||||||
background-color: @lineage-collapse-header;
|
background-color: @lineage-collapse-header;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lineage-column-node-handle {
|
|
||||||
background-color: @lineage-collapse-header;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-collapse-content-box {
|
.ant-collapse-content-box {
|
||||||
|
@ -31,18 +31,11 @@ function CommonEntitySummaryInfo({
|
|||||||
return (
|
return (
|
||||||
<Row className="text-sm" gutter={[0, 4]}>
|
<Row className="text-sm" gutter={[0, 4]}>
|
||||||
{entityInfo.map((info) => {
|
{entityInfo.map((info) => {
|
||||||
const isOwner = info.name === t('label.owner-plural');
|
|
||||||
const isDomain = isDomainVisible && info.name === t('label.domain');
|
const isDomain = isDomainVisible && info.name === t('label.domain');
|
||||||
|
|
||||||
return info.visible?.includes(componentType) || isDomain ? (
|
return info.visible?.includes(componentType) || isDomain ? (
|
||||||
<Col key={info.name} span={24}>
|
<Col key={info.name} span={24}>
|
||||||
<Row
|
<Row gutter={[16, 32]}>
|
||||||
className={classNames('', {
|
|
||||||
'p-b-md': isOwner,
|
|
||||||
})}
|
|
||||||
gutter={[16, 32]}>
|
|
||||||
{!isOwner ? (
|
|
||||||
<>
|
|
||||||
<Col span={8}>
|
<Col span={8}>
|
||||||
<Typography.Text
|
<Typography.Text
|
||||||
className="summary-item-key font-semibold"
|
className="summary-item-key font-semibold"
|
||||||
@ -69,23 +62,12 @@ function CommonEntitySummaryInfo({
|
|||||||
</Link>
|
</Link>
|
||||||
) : (
|
) : (
|
||||||
<Typography.Text
|
<Typography.Text
|
||||||
className={classNames(
|
className={classNames('summary-item-value text-grey-body')}
|
||||||
'summary-item-value text-grey-muted',
|
|
||||||
{
|
|
||||||
'text-grey-body': !isOwner,
|
|
||||||
}
|
|
||||||
)}
|
|
||||||
data-testid={`${info.name}-value`}>
|
data-testid={`${info.name}-value`}>
|
||||||
{info.value}
|
{info.value}
|
||||||
</Typography.Text>
|
</Typography.Text>
|
||||||
)}
|
)}
|
||||||
</Col>
|
</Col>
|
||||||
</>
|
|
||||||
) : (
|
|
||||||
<Col data-testid={`${info.name}-value`} span={24}>
|
|
||||||
{info.value}
|
|
||||||
</Col>
|
|
||||||
)}
|
|
||||||
</Row>
|
</Row>
|
||||||
</Col>
|
</Col>
|
||||||
) : null;
|
) : null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user