diff options
| author | Henry Jameson <me@hjkos.com> | 2018-04-15 08:04:16 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-05-12 15:19:53 +0300 |
| commit | 15a7151ade2cfb0a69216cac13e34ed255099aff (patch) | |
| tree | 2e3864ecb5506b309c48c0f8c5465729ac8f4404 /src/components/user_card_content/user_card_content.js | |
| parent | 61fd0b65d99c0fe828bfc029d9d016934f7f1059 (diff) | |
Entire area around user counters are clickable now, not just the header-link
Diffstat (limited to 'src/components/user_card_content/user_card_content.js')
| -rw-r--r-- | src/components/user_card_content/user_card_content.js | 6 |
1 files changed, 4 insertions, 2 deletions
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 }) + } } } } |
