mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-27 02:42:00 +08:00
Fix: The file count in the file header did not change after uploading or deleting files. (#14034)
### What problem does this PR solve? Fix: The file count in the file header did not change after uploading or deleting files. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
This commit is contained in:
@@ -215,7 +215,6 @@ export function ChunkMethodDialog({
|
||||
const showAutoKeywords = useShowAutoKeywords();
|
||||
|
||||
async function onSubmit(data: z.infer<typeof FormSchema>) {
|
||||
console.log('🚀 ~ onSubmit ~ data:', data);
|
||||
const parserConfig = data.parser_config;
|
||||
const imageTableContextWindow = Number(
|
||||
parserConfig?.image_table_context_window || 0,
|
||||
@@ -234,7 +233,6 @@ export function ChunkMethodDialog({
|
||||
pages: parserConfig?.pages?.map((x: any) => [x.from, x.to]) ?? [],
|
||||
},
|
||||
};
|
||||
console.log('🚀 ~ onSubmit ~ nextData:', nextData);
|
||||
const ret = await onOk?.(nextData);
|
||||
if (ret) {
|
||||
hideModal?.();
|
||||
@@ -378,19 +376,7 @@ export function ChunkMethodDialog({
|
||||
<ExcelToHtmlFormField></ExcelToHtmlFormField>
|
||||
)}
|
||||
</div>
|
||||
{/* {showRaptorParseConfiguration(
|
||||
selectedTag as DocumentParserType,
|
||||
) && (
|
||||
<FormContainer>
|
||||
<RaptorFormFields></RaptorFormFields>
|
||||
</FormContainer>
|
||||
)} */}
|
||||
{/* {showGraphRagItems(selectedTag as DocumentParserType) &&
|
||||
useGraphRag && (
|
||||
<FormContainer>
|
||||
<UseGraphRagFormField></UseGraphRagFormField>
|
||||
</FormContainer>
|
||||
)} */}
|
||||
|
||||
<div className="space-y-6 border-t-0.5 border-border-button pt-6 empty:hidden">
|
||||
{showEntityTypes && <EntityTypesFormField />}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user