Skip to content

Commit

Permalink
Fix navigate config option (as object)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Oct 28, 2024
1 parent 838d508 commit 9c7bee7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vue/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class Config {
if (typeof key === 'object') {
this.config = {
type: key.type ?? defaultConfig.type,
navigate: key.navigate ?? defaultConfig.navigate,
modal: { ...defaultConfig.modal, ...(key.modal ?? {}) },
slideover: { ...defaultConfig.slideover, ...(key.slideover ?? {}) },
}
Expand Down

0 comments on commit 9c7bee7

Please sign in to comment.