Fix installer wizard step highlighting

This commit is contained in:
Darko Gjorgjijoski
2024-07-29 14:06:21 +02:00
parent 6422da193b
commit 56a555bc4a
2 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
/>
<BaseWizard
:steps="8"
:steps="9"
:current-step="currentStepNumber"
@click="onNavClick"
>
@@ -48,7 +48,7 @@ export default {
setup() {
let stepComponent = ref('step_0')
let currentStepNumber = ref(1)
let currentStepNumber = ref(0)
const router = useRouter()
const installationStore = useInstallationStore()

View File

@@ -15,13 +15,13 @@
<a
v-for="(number, index) in steps"
:key="index"
:class="stepStyle(number)"
:class="stepStyle(index)"
class="z-10"
href="#"
@click.prevent="$emit('click', index)"
>
<svg
v-if="currentStep > number"
v-if="currentStep > index"
:class="iconClass"
fill="currentColor"
viewBox="0 0 20 20"