Entire area around user counters are clickable now, not just the header-link

This commit is contained in:
Henry Jameson 2018-04-15 08:04:16 +03:00
parent 61fd0b65d9
commit 15a7151ade
2 changed files with 21 additions and 12 deletions

View file

@ -61,8 +61,10 @@ export default {
store.state.api.backendInteractor.setUserMute(this.user)
},
setProfileView (v) {
const store = this.$store
store.commit('setProfileView', { v })
if (this.switcher) {
const store = this.$store
store.commit('setProfileView', { v })
}
}
}
}