Skip to content

Commit

Permalink
Fix load status already on page load, not only after login.
Browse files Browse the repository at this point in the history
  • Loading branch information
Soleone committed Apr 2, 2021
1 parent 3e8660d commit e1091a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ export default {
this.$store.dispatch('setUser', user)
}
})
this.$store.dispatch('bindAppRef')
},
methods: {
logout() {
Expand Down Expand Up @@ -252,7 +253,6 @@ export default {
if (!this.user) return
console.log('[Player] User was set. Trying to bind App and Player ref')
this.$store.dispatch('bindAppRef')
this.$store.dispatch('bindPlayerRef')
}
}
Expand Down

0 comments on commit e1091a6

Please sign in to comment.