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
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ const KnowledgeSidebar = () => {
|
|||
),
|
||||
];
|
||||
|
||||
if (!isEmpty(data.graph)) {
|
||||
if (!isEmpty(data?.graph)) {
|
||||
list.push(
|
||||
getItem(
|
||||
KnowledgeRouteKey.KnowledgeGraph,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue