mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
remove showDeleteConfirm function and center the Empty of knowledge list and extract the text of the login page to en.json (#203)
feat: remove showDeleteConfirm function feat: center the Empty of knowledge list feat: extract the text of the login page to en.json #204
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import showDeleteConfirm from '@/components/deleting-confirm';
|
||||
import { useShowDeleteConfirm } from '@/hooks/commonHooks';
|
||||
import { useRemoveDocument } from '@/hooks/documentHooks';
|
||||
import { IKnowledgeFile } from '@/interfaces/database/knowledge';
|
||||
import { api_host } from '@/utils/api';
|
||||
@ -31,6 +31,7 @@ const ParsingActionCell = ({
|
||||
const isRunning = isParserRunning(record.run);
|
||||
|
||||
const removeDocument = useRemoveDocument(documentId);
|
||||
const showDeleteConfirm = useShowDeleteConfirm();
|
||||
|
||||
const onRmDocument = () => {
|
||||
if (!isRunning) {
|
||||
|
||||
Reference in New Issue
Block a user