mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### 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:
@ -86,7 +86,9 @@ export const buildNodesAndCombos = (nodes: any[]) => {
|
|||||||
const nextNodes = nodes.map((x) => {
|
const nextNodes = nodes.map((x) => {
|
||||||
return {
|
return {
|
||||||
...x,
|
...x,
|
||||||
combo: combos.find((y) => y.data.label === findCombo(x?.communities))?.id,
|
combo:
|
||||||
|
combos.find((y) => y.data.label === findCombo(x?.communities))?.id ??
|
||||||
|
null,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user