Add a new dashboard page.
This commit is contained in:
parent
89150e1164
commit
fd24b1898e
133 changed files with 17303 additions and 11112 deletions
18
webui/src/store/entrypoints/mutations.js
Normal file
18
webui/src/store/entrypoints/mutations.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
// ----------------------------
|
||||
// Get All
|
||||
// ----------------------------
|
||||
export function getAllRequest (state) {
|
||||
state.all.loading = true
|
||||
}
|
||||
|
||||
export function getAllSuccess (state, body) {
|
||||
state.all = { items: body, loading: false }
|
||||
}
|
||||
|
||||
export function getAllFailure (state, error) {
|
||||
state.all = { error }
|
||||
}
|
||||
|
||||
export function getAllClear (state) {
|
||||
state.all = {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue