fixed music player not stopping on logout
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:
@@ -26,6 +26,11 @@ export default new Vuex.Store({
|
||||
},
|
||||
closePlayer(state) {
|
||||
state.playerActive = false;
|
||||
},
|
||||
logoutReset(state) {
|
||||
state.userdata.name = null;
|
||||
state.playerUrl = "";
|
||||
state.playerActive = false;
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
@@ -40,6 +45,9 @@ export default new Vuex.Store({
|
||||
},
|
||||
closePlayer({commit}) {
|
||||
commit('closePlayer');
|
||||
},
|
||||
logoutReset({commit}) {
|
||||
commit('logoutReset');
|
||||
}
|
||||
},
|
||||
modules: {},
|
||||
|
||||
Reference in New Issue
Block a user