diff --git a/frontend/src/scenes/data-warehouse/new/sourceWizardLogic.tsx b/frontend/src/scenes/data-warehouse/new/sourceWizardLogic.tsx index a99f597d5a43e..2f400d9e14872 100644 --- a/frontend/src/scenes/data-warehouse/new/sourceWizardLogic.tsx +++ b/frontend/src/scenes/data-warehouse/new/sourceWizardLogic.tsx @@ -380,7 +380,7 @@ export const sourceWizardLogic = kea([ }), listeners(({ actions, values }) => ({ onBack: () => { - if (values.currentStep <= 2) { + if (values.currentStep <= 1) { actions.selectConnector(null) } }, @@ -447,6 +447,7 @@ export const sourceWizardLogic = kea([ }) lemonToast.success('New Data Resource Created') actions.setSourceId(id) + actions.resetSourceConnectionDetails() actions.onNext() } catch (e: any) { lemonToast.error(e.data?.message ?? e.message)