wikijs-fork/client/store/admin.js

20 lines
288 B
JavaScript
Raw Normal View History

2018-07-15 23:16:19 +00:00
import { make } from 'vuex-pathify'
2018-08-04 21:27:55 +00:00
/* global siteConfig */
2018-07-15 23:16:19 +00:00
const state = {
info: {
currentVersion: 'n/a',
latestVersion: 'n/a',
groupsTotal: 0,
pagesTotal: 0,
usersTotal: 0
2018-07-15 23:16:19 +00:00
}
}
2018-06-10 00:11:00 +00:00
export default {
namespaced: true,
2018-07-15 23:16:19 +00:00
state,
mutations: make.mutations(state)
2018-06-10 00:11:00 +00:00
}