diff options
| author | taehoon <th.dev91@gmail.com> | 2019-02-03 12:52:04 -0500 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-02-07 10:48:47 -0500 |
| commit | ea1d7f46b5743a1493a8cfaf7b64dcc240fc3769 (patch) | |
| tree | d7c52796e8ecbf2d400f2c7b5039dd1ea4cea55f /src/components/user_profile/user_profile.js | |
| parent | 55fc31ea4d3ecde4693a346de51d6cf27e6d9e49 (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.js | 6 |
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: { |
