mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-07 13:07:22 +00:00
Encoded the fqn name on Node expand for lineage api endpoint (#8864)
This commit is contained in:
parent
e3ea6d0699
commit
1de27af02f
@ -72,6 +72,7 @@ import {
|
||||
prepareLabel,
|
||||
} from './CommonUtils';
|
||||
import { isLeafNode } from './EntityUtils';
|
||||
import { getEncodedFqn } from './StringsUtils';
|
||||
import SVGIcons from './SvgUtils';
|
||||
import { getEntityLink } from './TableUtils';
|
||||
|
||||
@ -287,7 +288,15 @@ export const getLineageData = (
|
||||
e.stopPropagation();
|
||||
onSelect(false, {} as SelectedNode);
|
||||
if (node) {
|
||||
loadNodeHandler(node, 'from');
|
||||
loadNodeHandler(
|
||||
{
|
||||
...node,
|
||||
fullyQualifiedName: getEncodedFqn(
|
||||
node.fullyQualifiedName ?? ''
|
||||
),
|
||||
},
|
||||
'from'
|
||||
);
|
||||
}
|
||||
}}>
|
||||
{!isLeafNode(lineageLeafNodes, node?.id as string, 'from') &&
|
||||
@ -313,7 +322,15 @@ export const getLineageData = (
|
||||
e.stopPropagation();
|
||||
onSelect(false, {} as SelectedNode);
|
||||
if (node) {
|
||||
loadNodeHandler(node, 'to');
|
||||
loadNodeHandler(
|
||||
{
|
||||
...node,
|
||||
fullyQualifiedName: getEncodedFqn(
|
||||
node.fullyQualifiedName ?? ''
|
||||
),
|
||||
},
|
||||
'to'
|
||||
);
|
||||
}
|
||||
}}>
|
||||
{!isLeafNode(lineageLeafNodes, node?.id as string, 'to') &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user