mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 05:31:24 +00:00
Fix installer wizard step highlighting
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user