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_profile/user_profile.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/components/user_profile/user_profile.js') 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: { -- cgit v1.2.3-70-g09d2 From 55da7dbfde84aa78ab54efe51b41d9f09646ed03 Mon Sep 17 00:00:00 2001 From: taehoon Date: Thu, 7 Feb 2019 10:53:36 -0500 Subject: Fix naming --- src/components/user_profile/user_profile.js | 4 ++-- src/components/user_profile/user_profile.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/user_profile/user_profile.js') diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index 4039fd35..e50048fa 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -59,8 +59,8 @@ const UserProfile = { isExternal () { return this.$route.name === 'external-user-profile' }, - followeesTabVisible () { - return this.isUs || !this.user.hide_followings + followsTabVisible () { + return this.isUs || !this.user.hide_follows }, followersTabVisible () { return this.isUs || !this.user.hide_followers diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index 11943660..9001ed00 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -15,7 +15,7 @@ :timeline-name="'user'" :user-id="fetchBy" /> -
+
-- cgit v1.2.3-70-g09d2