Fix: Fixed the issue that the knowledge graph could not be displayed #8890 (#8891)

### What problem does this PR solve?

Fix: Fixed the issue that the knowledge graph could not be displayed
#8890

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2025-07-17 15:26:21 +08:00
committed by GitHub
parent 729e6098f9
commit 96fe9c0acf
2 changed files with 3 additions and 6 deletions

View File

@ -86,9 +86,7 @@ export const buildNodesAndCombos = (nodes: any[]) => {
const nextNodes = nodes.map((x) => {
return {
...x,
combo:
combos.find((y) => y.data.label === findCombo(x?.communities))?.id ??
null,
combo: combos.find((y) => y.data.label === findCombo(x?.communities))?.id,
};
});