Fix: Hide the download button if it is an empty file #3762 (#3853)

### What problem does this PR solve?

Fix: Hide the download button if it is an empty file #3762

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-12-04 15:09:41 +08:00
committed by GitHub
parent cf37e2ef1a
commit 289f4f1916
3 changed files with 32 additions and 21 deletions

View File

@ -57,3 +57,8 @@ export enum KnowledgeSearchParams {
DocumentId = 'doc_id',
KnowledgeId = 'id',
}
export enum DocumentType {
Virtual = 'virtual',
Visual = 'visual',
}