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

@ -35,7 +35,7 @@ const ParsingActionCell = ({
const onRmDocument = () => {
if (!isRunning) {
showDeleteConfirm({ onOk: () => removeDocument(documentId) });
showDeleteConfirm({ onOk: () => removeDocument([documentId]) });
}
};