Fix:Playlist tab not shown after adding first playlist #1092

This commit is contained in:
advplyr 2024-03-03 13:29:58 -06:00
parent c04c7a55d9
commit da3882fd5e
3 changed files with 10 additions and 8 deletions

View file

@ -212,8 +212,7 @@ export default {
}
},
userUpdated(user) {
// console.log('[default] userUpdated:', JSON.stringify(user))
if (this.user && this.user.id == user.id) {
if (this.user?.id == user.id) {
this.$store.commit('user/setUser', user)
}
},