0f9ddf1e5d
* updating a switch into object literal and fixed a couple linter errors * added a comment about weird formatting * style: use lodash get * fix: pass eslint + puglint + jest
18 lines
263 B
JavaScript
18 lines
263 B
JavaScript
import { make } from 'vuex-pathify'
|
|
|
|
const state = {
|
|
info: {
|
|
currentVersion: 'n/a',
|
|
latestVersion: 'n/a',
|
|
groupsTotal: 0,
|
|
pagesTotal: 0,
|
|
usersTotal: 0
|
|
}
|
|
}
|
|
|
|
export default {
|
|
namespaced: true,
|
|
state,
|
|
mutations: make.mutations(state)
|
|
}
|