Skip to content

Commit cec9270

Browse files
author
Keivan Vosoughi
committed
Test
1 parent 7e4dfa7 commit cec9270

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/client/src/pages/DataGenerator/Configure.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ const Configure: FunctionComponent = () => {
287287

288288
<Form.Item
289289
name='doc_paths'
290-
label={(useCase === 'custom' && formData?.workflow_type === WorkflowType.CUSTOM_DATA_GENERATION) ? 'Context' : 'Input File'}
290+
label={(useCase === 'custom' && formData?.workflow_type === WorkflowType.FREE_FORM_DATA_GENERATION) ? 'Context' : 'Input File'}
291291
labelCol={labelCol}
292292
dependencies={['workflow_type', 'use_case]']}
293293
shouldUpdate
@@ -330,7 +330,7 @@ const Configure: FunctionComponent = () => {
330330
<FileSelectorButton onAddFiles={onAddFiles} workflowType={form.getFieldValue('workflow_type')} allowFileTypes={['pdf', 'docx', 'json']}/>
331331
</Flex>
332332
</Form.Item>)}}</Form.Item>}
333-
{formData?.workflow_type === WorkflowType.FREE_FORM_DATA_GENERATION &&
333+
{formData?.workflow_type === WorkflowType.CUSTOM_DATA_GENERATION &&
334334
<>
335335
<Form.Item
336336
name='input_key'

0 commit comments

Comments
 (0)