mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-22 03:44:28 +02:00
Update:Persist series sort/filter options #1272
This commit is contained in:
parent
49a69193d8
commit
c06d734d5e
5 changed files with 20 additions and 58 deletions
|
@ -10,9 +10,6 @@ export const state = () => ({
|
|||
folderLastUpdate: 0,
|
||||
filterData: null,
|
||||
numUserPlaylists: 0,
|
||||
seriesSortBy: 'name',
|
||||
seriesSortDesc: false,
|
||||
seriesFilterBy: 'all',
|
||||
collections: [],
|
||||
userPlaylists: []
|
||||
})
|
||||
|
@ -312,15 +309,6 @@ export const mutations = {
|
|||
}
|
||||
}
|
||||
},
|
||||
setSeriesSortBy(state, sortBy) {
|
||||
state.seriesSortBy = sortBy
|
||||
},
|
||||
setSeriesSortDesc(state, sortDesc) {
|
||||
state.seriesSortDesc = sortDesc
|
||||
},
|
||||
setSeriesFilterBy(state, filterBy) {
|
||||
state.seriesFilterBy = filterBy
|
||||
},
|
||||
setCollections(state, collections) {
|
||||
state.collections = collections
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue