From 4046bffaf18143e78626c2018178fa7e9ebe5355 Mon Sep 17 00:00:00 2001 From: Jimmy Ben Klieve Date: Wed, 17 Dec 2025 15:37:28 +0800 Subject: [PATCH] fix: unable to save ingestion pipeline config without modifying children delimiter (#11991) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ildren delimiter ### What problem does this PR solve? Fix the issue of unable to save **Files > Ingestion Pipeline (Modal)** config without modifying children delimiter ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/src/components/chunk-method-dialog/index.tsx | 2 +- web/src/pages/dataset/dataset-setting/saving-button.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/chunk-method-dialog/index.tsx b/web/src/components/chunk-method-dialog/index.tsx index e85cc20b1..ae6e62aa6 100644 --- a/web/src/components/chunk-method-dialog/index.tsx +++ b/web/src/components/chunk-method-dialog/index.tsx @@ -209,7 +209,7 @@ export function ChunkMethodDialog({ // Unset children delimiter if this option is not enabled children_delimiter: data.parser_config.enable_children ? data.parser_config.children_delimiter - : null, + : '', pages: data.parser_config?.pages?.map((x: any) => [x.from, x.to]) ?? [], }, }; diff --git a/web/src/pages/dataset/dataset-setting/saving-button.tsx b/web/src/pages/dataset/dataset-setting/saving-button.tsx index 155dad13c..451e1d895 100644 --- a/web/src/pages/dataset/dataset-setting/saving-button.tsx +++ b/web/src/pages/dataset/dataset-setting/saving-button.tsx @@ -72,7 +72,7 @@ export function SavingButton() { // Unset children delimiter if this option is not enabled children_delimiter: values.parser_config.enable_children ? values.parser_config.children_delimiter - : null, + : '', }, }); })();