mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Modify the translation file of the workflow #9869 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -144,7 +144,7 @@ export const useFetchNextKnowledgeListByPage = () => {
|
||||
|
||||
const onInputChange: React.ChangeEventHandler<HTMLInputElement> = useCallback(
|
||||
(e) => {
|
||||
// setPagination({ page: 1 }); // TODO: 这里导致重复请求
|
||||
// setPagination({ page: 1 }); // TODO: This results in repeated requests
|
||||
handleInputChange(e);
|
||||
},
|
||||
[handleInputChange],
|
||||
@ -323,7 +323,7 @@ export const useRemoveKnowledgeGraph = () => {
|
||||
if (data.code === 0) {
|
||||
message.success(i18n.t(`message.deleted`));
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: ['fetchKnowledgeGraph'],
|
||||
queryKey: [KnowledgeApiAction.FetchKnowledgeGraph],
|
||||
});
|
||||
}
|
||||
return data?.code;
|
||||
|
||||
Reference in New Issue
Block a user