wikijs-fork/client/store/admin.js
rbtprograms 0f9ddf1e5d fix: Switch converted to Object Literal (#940)
* 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
2019-08-04 16:31:13 -04:00

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