Skip to content

Commit

Permalink
Fix: Capture the problem that the knowledge graph interface returns n…
Browse files Browse the repository at this point in the history
…ull 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)
  • Loading branch information
cike8899 authored Jan 23, 2025
1 parent c5c0dd2 commit 15f9406
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const KnowledgeSidebar = () => {
),
];

if (!isEmpty(data.graph)) {
if (!isEmpty(data?.graph)) {
list.push(
getItem(
KnowledgeRouteKey.KnowledgeGraph,
Expand Down

0 comments on commit 15f9406

Please # to comment.