feat: translate FileManager #345 (#558)

### What problem does this PR solve?
#345
feat: translate FileManager
feat: batch delete files from the file table in the knowledge base

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-04-26 17:22:23 +08:00
committed by GitHub
parent f69ff39fa0
commit eb62c669ae
20 changed files with 212 additions and 69 deletions

View File

@@ -38,7 +38,7 @@ const ActionCell = ({
const onDownloadDocument = () => {
downloadFile({
url: `${api_host}/document/get/${documentId}`,
url: `${api_host}/file/get/${documentId}`,
filename: record.name,
});
};