File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/client/src/pages/DataGenerator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments