Add a new dashboard page.
This commit is contained in:
parent
89150e1164
commit
fd24b1898e
133 changed files with 17303 additions and 11112 deletions
25
webui/src/store/core/mutations.js
Normal file
25
webui/src/store/core/mutations.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
// ----------------------------
|
||||
// Get Overview
|
||||
// ----------------------------
|
||||
export function getOverviewRequest (state) {
|
||||
state.allOverview.loading = true
|
||||
}
|
||||
|
||||
export function getOverviewSuccess (state, body) {
|
||||
state.allOverview = { items: body, loading: false }
|
||||
}
|
||||
|
||||
export function getOverviewFailure (state, error) {
|
||||
state.allOverview = { error }
|
||||
}
|
||||
|
||||
export function getOverviewClear (state) {
|
||||
state.allOverview = {}
|
||||
}
|
||||
|
||||
// ----------------------------
|
||||
// Get Version
|
||||
// ----------------------------
|
||||
export function getVersionSuccess (state, body) {
|
||||
state.version = body
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue