aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.js
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-02-03 12:52:04 -0500
committertaehoon <th.dev91@gmail.com>2019-02-07 10:48:47 -0500
commitea1d7f46b5743a1493a8cfaf7b64dcc240fc3769 (patch)
treed7c52796e8ecbf2d400f2c7b5039dd1ea4cea55f /src/components/user_profile/user_profile.js
parent55fc31ea4d3ecde4693a346de51d6cf27e6d9e49 (diff)
Always show my own followees/followers
Diffstat (limited to 'src/components/user_profile/user_profile.js')
-rw-r--r--src/components/user_profile/user_profile.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js
index 7b0ab705..4039fd35 100644
--- a/src/components/user_profile/user_profile.js
+++ b/src/components/user_profile/user_profile.js
@@ -58,6 +58,12 @@ const UserProfile = {
},
isExternal () {
return this.$route.name === 'external-user-profile'
+ },
+ followeesTabVisible () {
+ return this.isUs || !this.user.hide_followings
+ },
+ followersTabVisible () {
+ return this.isUs || !this.user.hide_followers
}
},
methods: {