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 Feb 26, 2024
1 parent fd8f83e commit e61bcc6
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 = step_number > 1 ? step_number - 1 : 1"
>
Return
</v-btn>
Expand Down

0 comments on commit e61bcc6

Please sign in to comment.