mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 19:25:56 +00:00
feat(siblings): dont show multiple platform icons if the siblings are ghost nodes (#8543)
This commit is contained in:
parent
926a9c36a6
commit
b9dc1a3ae6
@ -60,7 +60,7 @@ export function getDataForEntityType<T>({
|
||||
};
|
||||
}
|
||||
|
||||
if (anyEntityData?.siblings?.siblings?.length > 0 && !isHideSiblingMode) {
|
||||
if (anyEntityData?.siblings?.siblings?.filter((sibling) => sibling.exists).length > 0 && !isHideSiblingMode) {
|
||||
const genericSiblingProperties: GenericEntityProperties[] = anyEntityData?.siblings?.siblings?.map((sibling) =>
|
||||
getDataForEntityType({ data: sibling, getOverrideProperties: () => ({}) }),
|
||||
);
|
||||
|
||||
@ -251,6 +251,9 @@ fragment lineageFields on EntityWithRelationships {
|
||||
siblings {
|
||||
urn
|
||||
type
|
||||
... on Dataset {
|
||||
exists
|
||||
}
|
||||
...lineageNodeProperties
|
||||
}
|
||||
}
|
||||
@ -369,6 +372,9 @@ query getEntityLineage(
|
||||
siblings {
|
||||
urn
|
||||
type
|
||||
... on Dataset {
|
||||
exists
|
||||
}
|
||||
...lineageNodeProperties
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user