Skip to content

Commit

Permalink
Fix: the Display when the knowledge base empty. (#4496)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
limengning authored Jan 16, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 57b4e0c commit 961e8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/pages/knowledge/index.tsx
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ const KnowledgeList = () => {
next={fetchNextPage}
hasMore={hasNextPage}
loader={<Skeleton avatar paragraph={{ rows: 1 }} active />}
endMessage={total && <Divider plain>{t('noMoreData')} 🤐</Divider>}
endMessage={!!total && <Divider plain>{t('noMoreData')} 🤐</Divider>}
scrollableTarget="scrollableDiv"
>
<Flex

0 comments on commit 961e8c4

Please sign in to comment.