fix(dataset): update error message for document deletion to use correct translation key (#17603)

This commit is contained in:
chanx
2026-07-31 13:20:25 +08:00
committed by GitHub
parent 599ada8927
commit a68db44a6a

View File

@@ -112,7 +112,9 @@ export function useBulkOperateDataset({
.some((y) => y.id === x),
);
if (deletedKeys.length === 0) {
toast.error(t('theDocumentBeingParsedCannotBeDeleted'));
toast.error(
t('knowledgeConfiguration.theDocumentBeingParsedCannotBeDeleted'),
);
return;
}