Fix: Capture the problem that the knowledge graph interface returns null and causes page errors #4543 (#4598)
### What problem does this PR solve? Fix: Capture the problem that the knowledge graph interface returns null and causes page errors #4543 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
c5c0dd2da0
commit
15f9406e7b
@ -79,7 +79,7 @@ const KnowledgeSidebar = () => {
|
|||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!isEmpty(data.graph)) {
|
if (!isEmpty(data?.graph)) {
|
||||||
list.push(
|
list.push(
|
||||||
getItem(
|
getItem(
|
||||||
KnowledgeRouteKey.KnowledgeGraph,
|
KnowledgeRouteKey.KnowledgeGraph,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user