Skip to content

Commit

Permalink
fix: pass a copy of the enabledButtons configuration object
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorainville committed Feb 6, 2020
1 parent 5c5f5d0 commit 9fb0ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VStep.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
return {
...DEFAULT_STEP_OPTIONS,
...{ highlight: this.highlight }, // Use global tour highlight setting first
...{ enabledButtons: this.enabledButtons },
...{ enabledButtons: Object.assign({}, this.enabledButtons) },
...this.step.params // Then use local step parameters if defined
}
}
Expand Down

0 comments on commit 9fb0ec9

Please sign in to comment.