Quellcode durchsuchen

Fix: graphknowledge Tree structure not found for treeKey: combo (#7819) (#8862)

### 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)
tags/v0.20.0
wwwlll vor 3 Monaten
Ursprung
Commit
9bd2127ba1
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3
    1
      web/src/pages/add-knowledge/components/knowledge-graph/util.ts

+ 3
- 1
web/src/pages/add-knowledge/components/knowledge-graph/util.ts Datei anzeigen

@@ -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,
};
});


Laden…
Abbrechen
Speichern