mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-28 19:32:45 +01:00
Sorting, fix user object bug, add settings module
This commit is contained in:
1 parent
e1aa95af97
commit
30ca0bb95f
18 files changed
+164
-17
No files matched your search
@@ -0,0 +1,20 @@
|
||||
|
||||
export const state = () => ({
|
||||
orderBy: 'title',
|
||||
orderDesc: false
|
||||
})
|
||||
|
||||
export const getters = {
|
||||
|
||||
}
|
||||
|
||||
export const actions = {
|
||||
|
||||
}
|
||||
|
||||
export const mutations = {
|
||||
setSettings(state, settings) {
|
||||
state.orderBy = settings.orderBy
|
||||
state.orderDesc = settings.orderDesc
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user