From ea1d7f46b5743a1493a8cfaf7b64dcc240fc3769 Mon Sep 17 00:00:00 2001
From: taehoon
Date: Sun, 3 Feb 2019 12:52:04 -0500
Subject: Always show my own followees/followers
---
src/components/user_card_content/user_card_content.js | 6 ++++++
1 file changed, 6 insertions(+)
(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 6f6d04a7..d256fc5d 100644
--- a/src/components/user_card_content/user_card_content.js
+++ b/src/components/user_card_content/user_card_content.js
@@ -79,6 +79,12 @@ export default {
set (color) {
this.$store.dispatch('setHighlight', { user: this.user.screen_name, color })
}
+ },
+ followeesCountVisible () {
+ return !this.isOtherUser || !this.user.hide_followings
+ },
+ followersCountVisible () {
+ return !this.isOtherUser || !this.user.hide_followers
}
},
components: {
--
cgit v1.2.3-70-g09d2