diff --git a/web/pages/preparation.html b/web/pages/preparation.html index 23ebddb..c72a36c 100644 --- a/web/pages/preparation.html +++ b/web/pages/preparation.html @@ -35,18 +35,13 @@ isStepValid() { const currentStepData = this.formData[this.step]; if (!currentStepData) return true; + if (this.step === 3 && currentStepData.deploymentMode === 'interactive') return true; return Object.values(currentStepData).every(value => !!value); }, goToPrevStep() { - if (this.step === 4 && this.formData[3].deploymentMode === 'interactive') { - this.step--; - } this.step--; }, goToNextStep() { - if (this.step === 3 && this.formData[3].deploymentMode === 'interactive') { - this.step++; - } this.step++; }, async startDiscovery() {