mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
Fix installer wizard step highlighting
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<BaseWizard
|
<BaseWizard
|
||||||
:steps="8"
|
:steps="9"
|
||||||
:current-step="currentStepNumber"
|
:current-step="currentStepNumber"
|
||||||
@click="onNavClick"
|
@click="onNavClick"
|
||||||
>
|
>
|
||||||
@@ -48,7 +48,7 @@ export default {
|
|||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
let stepComponent = ref('step_0')
|
let stepComponent = ref('step_0')
|
||||||
let currentStepNumber = ref(1)
|
let currentStepNumber = ref(0)
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const installationStore = useInstallationStore()
|
const installationStore = useInstallationStore()
|
||||||
|
|||||||
@@ -15,13 +15,13 @@
|
|||||||
<a
|
<a
|
||||||
v-for="(number, index) in steps"
|
v-for="(number, index) in steps"
|
||||||
:key="index"
|
:key="index"
|
||||||
:class="stepStyle(number)"
|
:class="stepStyle(index)"
|
||||||
class="z-10"
|
class="z-10"
|
||||||
href="#"
|
href="#"
|
||||||
@click.prevent="$emit('click', index)"
|
@click.prevent="$emit('click', index)"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
v-if="currentStep > number"
|
v-if="currentStep > index"
|
||||||
:class="iconClass"
|
:class="iconClass"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
viewBox="0 0 20 20"
|
viewBox="0 0 20 20"
|
||||||
|
|||||||
Reference in New Issue
Block a user