From 15a7151ade2cfb0a69216cac13e34ed255099aff Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 15 Apr 2018 08:04:16 +0300 Subject: Entire area around user counters are clickable now, not just the header-link --- src/components/user_card_content/user_card_content.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/components/user_card_content/user_card_content.js') diff --git a/src/components/user_card_content/user_card_content.js b/src/components/user_card_content/user_card_content.js index a6e44d90..4ee84b0e 100644 --- a/src/components/user_card_content/user_card_content.js +++ b/src/components/user_card_content/user_card_content.js @@ -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 }) + } } } } -- cgit v1.2.3-70-g09d2