Skip to content

Commit

Permalink
Make return button go back to the previous page instead of jump to th…
Browse files Browse the repository at this point in the history
…e first.
  • Loading branch information
joaoantoniocardoso committed Mar 6, 2024
1 parent ed32928 commit a4350fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/frontend/src/components/wizard/Wizard.vue
Expand Up @@ -141,7 +141,7 @@
<v-row class="pa-5">
<v-btn
color="warning"
@click="step_number = 1"
@click="step_number = Math.max(step_number - 1, 1)"
>
Return
</v-btn>
Expand Down

0 comments on commit a4350fd

Please sign in to comment.