mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-03 06:29:42 +00:00
Reset filters and search when switching libraries
This commit is contained in:
parent
f7506e84d3
commit
8f189763f0
5 changed files with 47 additions and 3 deletions
|
|
@ -119,7 +119,7 @@ export const actions = {
|
|||
const issues = data.issues || 0
|
||||
const numUserPlaylists = data.numUserPlaylists
|
||||
|
||||
dispatch('user/checkUpdateLibrarySortFilter', library.mediaType, { root: true })
|
||||
dispatch('user/checkUpdateLibrarySortFilter', { mediaType: library.mediaType, libraryChanging }, { root: true })
|
||||
|
||||
if (libraryChanging) {
|
||||
commit('setCollections', [])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue