fixed music player not stopping on logout
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-11-27 15:24:06 +01:00
parent 7f33b5d60b
commit 89607acaea
2 changed files with 9 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ export default {
performLogout() {
this.logoutProcessing = true;
this.$api.performLogout().then(() => {
this.$store.dispatch('storeUserData', null).then(() => {
this.$store.dispatch('logoutReset').then(() => {
this.$router.push('/login').catch(() => {
});