mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
20 lines
275 B
JavaScript
20 lines
275 B
JavaScript
|
|
||
|
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
|
||
|
}
|
||
|
}
|