Skip to content

Commit

Permalink
wasn't being marked complete
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbitronics committed Jan 22, 2025
1 parent 4ba8dff commit b8539a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/2sv/key/Confirmed.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<ProfileWizard ref="wizard">
<ProfileWizard>
<BasePage>
<template #header>
{{ $t('2sv.key.confirmed.header') }}
Expand All @@ -22,15 +22,16 @@

<script>
import ProfileWizard from '@/profile/ProfileWizard.vue'
import steps from '../../profile/steps'
export default {
name: 'ConfirmedKey',
components: {
ProfileWizard,
},
async created() {
await this.$nextTick() // best option I could figure out to ensure this.$refs.wizard was available
this.$refs.wizard.completed()
const step = steps.forPath(this.$route.path)
step.state = 'complete'
},
}
</script>

0 comments on commit b8539a4

Please sign in to comment.