mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
modify state variable.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user