From b8f05801a6fc2f730710c4f059466ca184b3a86d Mon Sep 17 00:00:00 2001 From: Petr Gadorek Date: Fri, 29 Nov 2024 13:09:32 +0100 Subject: [PATCH] enabled the navigation between steps --- src-tauri/tauri.conf.json | 2 +- src/components/WizardStep.vue | 30 +++++++++++++++++++++++++++--- src/store.js | 3 +++ 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 2fe6c00..e592fdb 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -14,7 +14,7 @@ { "title": "ESP-IDF Installation Manager(EIM)", "width": 1200, - "height": 900 + "height": 1000 } ], "security": { diff --git a/src/components/WizardStep.vue b/src/components/WizardStep.vue index 20461f3..97a99ed 100644 --- a/src/components/WizardStep.vue +++ b/src/components/WizardStep.vue @@ -4,8 +4,10 @@
+ 'completed': currentStep > index + 1, + 'disabled': currentStep === 7 || currentStep === 8, + 'clickable': currentStep > index + 1 && currentStep < 7 + }" @click="handleStepClick(index + 1)">