Working better :)

Former-commit-id: 935ee3c7cceb4deb31965501a80c202a0034da52 [formerly 3a68553e1ac0af9dad51bd2b8eab1152959a4dc2] [formerly 596f9d6676cceafac0e9fe66a9137683482c2685 [formerly 191b31e9774be6e9a2a12a8336db40fe14eb94b5]]
Former-commit-id: f0179a58c53f057f1b6f0f19b40fc2308b0edd15 [formerly 5151c85d599e8b3772dabab24973004105c29881]
Former-commit-id: c28c7b95e5ea1b1d9ae2af046f49cc5ffa848385
This commit is contained in:
Henrique Dias
2017-07-03 11:04:14 +01:00
parent 54461e3cd6
commit 8b98abedea
17 changed files with 99 additions and 54 deletions

View File

@@ -18,6 +18,7 @@ const mutations = {
state.showDownload = false
},
setUser: (state, value) => (state.user = value),
setJWT: (state, value) => (state.jwt = value),
multiple: (state, value) => (state.multiple = value),
addSelected: (state, value) => (state.selected.push(value)),
removeSelected: (state, value) => {
@@ -29,11 +30,10 @@ const mutations = {
state.selected = []
},
listingDisplay: (state, value) => {
state.req.data.display = value
state.req.display = value
},
updateRequest: (state, value) => {
state.req.kind = value.kind
state.req.data = value.data
state.req = value
}
}