diff --git a/web/app/components/workflow/nodes/document-extractor/panel.tsx b/web/app/components/workflow/nodes/document-extractor/panel.tsx index ce7f1c8849743c..dab4f8babef397 100644 --- a/web/app/components/workflow/nodes/document-extractor/panel.tsx +++ b/web/app/components/workflow/nodes/document-extractor/panel.tsx @@ -51,7 +51,7 @@ const Panel: FC> = ({ } = useConfig(id, data) return ( -
+
> = ({
-
- -
{t(`${i18nPrefix}.output_format`)}
-
- handleConfigChanges({ - output_image: val === 'image', - })} - /> + + <> + handleConfigChanges({ + output_image: val === 'image', + })} + /> + +
diff --git a/web/i18n/en-US/workflow.ts b/web/i18n/en-US/workflow.ts index 8f10aa923b90c5..93a4c285f52b8c 100644 --- a/web/i18n/en-US/workflow.ts +++ b/web/i18n/en-US/workflow.ts @@ -671,7 +671,7 @@ const translation = { }, docExtractor: { inputVar: 'Input Variable', - output_image: 'Image output (only pdf)', + output_image: 'Image output (PDF only)', output_text: 'Text output', output_format: 'output format', outputVars: {