mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-18 14:16:48 +00:00
fix(ui/lineage): Do not crash on query entity (#9836)
This commit is contained in:
parent
4b645e1942
commit
c08d6b98eb
@ -113,7 +113,9 @@ export default function LineageExplorer({ urn, type }: Props) {
|
||||
);
|
||||
const config = entityRegistry.getLineageVizConfig(entityAndType.type, entityAndType.entity);
|
||||
|
||||
config?.downstreamChildren?.forEach((downstream) => {
|
||||
config?.downstreamChildren
|
||||
?.filter((child) => child.type)
|
||||
?.forEach((downstream) => {
|
||||
newAsyncEntities = extendAsyncEntities(
|
||||
fineGrainedMap,
|
||||
fineGrainedMapForSiblings,
|
||||
@ -123,7 +125,9 @@ export default function LineageExplorer({ urn, type }: Props) {
|
||||
false,
|
||||
);
|
||||
});
|
||||
config?.upstreamChildren?.forEach((downstream) => {
|
||||
config?.upstreamChildren
|
||||
?.filter((child) => child.type)
|
||||
?.forEach((downstream) => {
|
||||
newAsyncEntities = extendAsyncEntities(
|
||||
fineGrainedMap,
|
||||
fineGrainedMapForSiblings,
|
||||
|
Loading…
x
Reference in New Issue
Block a user