mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-10 07:09:01 +08:00
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(
|
||||
getItem(
|
||||
KnowledgeRouteKey.KnowledgeGraph,
|
||||
|
Loading…
x
Reference in New Issue
Block a user