mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-05 18:45:47 +02:00
Fix:Clicking author card on home page filter/sort #607
This commit is contained in:
parent
a0f8e6fb93
commit
da442f4a17
2 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@ export default {
|
|||
async asyncData({ store, params, query }) {
|
||||
// Set filter by
|
||||
if (query.filter) {
|
||||
store.commit('user/setSettings', { mobileFilterBy: query.filter })
|
||||
await store.dispatch('user/updateUserSettings', { mobileFilterBy: query.filter })
|
||||
}
|
||||
}
|
||||
|
|
|
@ -89,8 +89,8 @@ export const actions = {
|
|||
}
|
||||
}
|
||||
if (hasChanges) {
|
||||
await this.$localStore.setUserSettings(existingSettings)
|
||||
commit('setSettings', existingSettings)
|
||||
await this.$localStore.setUserSettings(existingSettings)
|
||||
this.$eventBus.$emit('user-settings', state.settings)
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue