From 949f47063b0114cd72630d3862df96429835f925 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Tue, 12 Nov 2019 10:40:36 -0500
Subject: show N/A when count is hidden
---
src/components/user_card/user_card.js | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'src/components/user_card/user_card.js')
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js
index cc8a1ed6..a9278200 100644
--- a/src/components/user_card/user_card.js
+++ b/src/components/user_card/user_card.js
@@ -93,6 +93,12 @@ export default {
const roleTitle = rights.admin ? 'admin' : 'moderator'
return validRole && roleTitle
},
+ hideFollowsCount () {
+ return this.isOtherUser && this.user.hide_follows_count
+ },
+ hideFollowersCount () {
+ return this.isOtherUser && this.user.hide_followers_count
+ },
...mapGetters(['mergedConfig'])
},
components: {
--
cgit v1.2.3-70-g09d2
From 7ebf3602d5d9a8630ffbe239bfe4431655046821 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Tue, 26 Nov 2019 19:57:27 -0500
Subject: move mention button right next to mute button
---
src/components/account_actions/account_actions.js | 3 ---
src/components/account_actions/account_actions.vue | 18 ++++--------------
src/components/user_card/user_card.js | 3 +++
src/components/user_card/user_card.vue | 8 ++++++++
4 files changed, 15 insertions(+), 17 deletions(-)
(limited to 'src/components/user_card/user_card.js')
diff --git a/src/components/account_actions/account_actions.js b/src/components/account_actions/account_actions.js
index 204d506a..d2153680 100644
--- a/src/components/account_actions/account_actions.js
+++ b/src/components/account_actions/account_actions.js
@@ -25,9 +25,6 @@ const AccountActions = {
},
reportUser () {
this.$store.dispatch('openUserReportingModal', this.user.id)
- },
- mentionUser () {
- this.$store.dispatch('openPostStatusModal', { replyTo: true, repliedUser: this.user })
}
}
}
diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue
index 046cba93..d3235be1 100644
--- a/src/components/account_actions/account_actions.vue
+++ b/src/components/account_actions/account_actions.vue
@@ -9,17 +9,7 @@
>
+
+
+