Skip to content

Commit a12cf74

Browse files
author
Keivan Vosoughi
committed
Fix Regenerate Issues
1 parent 7331eef commit a12cf74

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
@@ -57,10 +57,10 @@ const Configure = () => {
5757
useEffect(() => {
5858
if (wizardModeType === WizardModeType.DATA_AUGMENTATION) {
5959
setWizardModeType(WizardModeType.DATA_AUGMENTATION);
60-
form.setFieldValue('workflow_type', 'custom');
60+
form.setFieldValue('workflow_type', 'freeform');
6161
} else {
6262
setWizardModeType(WizardModeType.DATA_GENERATION);
63-
form.setFieldValue('workflow_type', 'freeform');
63+
form.setFieldValue('workflow_type', 'custom');
6464
}
6565
}, [location, wizardModeType]);
6666

0 commit comments

Comments
 (0)