modify state variable.

This commit is contained in:
m1k1o
2021-03-10 01:31:35 +01:00
parent 1c7f6b7df6
commit 6c956d7c77
+2
View File
@@ -62,6 +62,7 @@ export default new Vuex.Store({
commit('ROOMS_PUT', {
id: roomId,
running: true,
state: 'Up',
});
},
async ROOMS_STOP({ commit }: ActionContext<State, State>, roomId: string) {
@@ -69,6 +70,7 @@ export default new Vuex.Store({
commit('ROOMS_PUT', {
id: roomId,
running: false,
state: 'Exited',
});
},
async ROOMS_RESTART(_: ActionContext<State, State>, roomId: string) {