added popup control fix #3
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -87,5 +87,12 @@ export default {
|
||||
},
|
||||
resetRedisCache(context) {
|
||||
axios.post(context.rootGetters.server + "/api/system/reset/redis", {}, context.rootGetters.headers);
|
||||
context.dispatch("addPoUp", { title: "Cache", message: "Cache was reseted", type: "info" })
|
||||
},
|
||||
addPoUp(context, item) {
|
||||
context.commit("addPopUp", item);
|
||||
},
|
||||
removePopUp(context, item) {
|
||||
context.commit("removePopUp", item);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user