Sorting, fix user object bug, add settings module

This commit is contained in:
Mark Cooper 2021-08-18 06:50:24 -05:00
parent e1aa95af97
commit 30ca0bb95f
18 changed files with 164 additions and 17 deletions

20
client/store/settings.js Normal file
View file

@ -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
}
}