### What problem does this PR solve? Fixed graphknowledge Tree structure not found for treeKey. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
a9abf9df48
commit
9bd2127ba1
1 changed files with 3 additions and 1 deletions
|
|
@ -86,7 +86,9 @@ export const buildNodesAndCombos = (nodes: any[]) => {
|
|||
const nextNodes = nodes.map((x) => {
|
||||
return {
|
||||
...x,
|
||||
combo: combos.find((y) => y.data.label === findCombo(x?.communities))?.id,
|
||||
combo:
|
||||
combos.find((y) => y.data.label === findCombo(x?.communities))?.id ??
|
||||
null,
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue