diff --git a/src/electron/src/views/OnboardingView.vue b/src/electron/src/views/OnboardingView.vue index 925608f6..a17c89b8 100644 --- a/src/electron/src/views/OnboardingView.vue +++ b/src/electron/src/views/OnboardingView.vue @@ -34,13 +34,14 @@ const availableSteps = ['welcome']; if (isMacOS === 'true' && requiresAnyPermission) { availableSteps.push('data-collection'); -} - -if (isMacOS === 'false') { +} else if (isMacOS === 'false') { availableSteps.push('study-trackers-started'); } if (goToStep === 'study-trackers-started') { + if (!availableSteps.includes('study-trackers-started')) { + availableSteps.push('study-trackers-started'); + } currentStep.value = availableSteps.indexOf('study-trackers-started'); } @@ -160,7 +161,7 @@ function startAllTrackers() {