Skip to content

Commit

Permalink
YDEN-140 fix: If skipWizard is selected, ignore other steps
Browse files Browse the repository at this point in the history
  • Loading branch information
froboy committed Jul 25, 2024
1 parent d9e9b63 commit 5324436
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openy_af4_vue_app/dist/activity_finder_4.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openy_af4_vue_app/dist/activity_finder_4.umd.min.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions openy_af4_vue_app/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,10 @@ export default {
this.updateUrl()
},
step(val, oldVal) {
// If skipWizard, then ignore all steps and go directly to results.
if (this.skipWizard) {
this.viewResults()
}
// Check if we returned to previously completed step - using browser back button - then we
// need to remove this step from completed steps.
// The else part tracks the completed step if the first (default) step was already completed
Expand Down

0 comments on commit 5324436

Please sign in to comment.