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_card_content/user_card_content.js | |
| parent | 55fc31ea4d3ecde4693a346de51d6cf27e6d9e49 (diff) | |
Always show my own followees/followers
Diffstat (limited to 'src/components/user_card_content/user_card_content.js')
| -rw-r--r-- | src/components/user_card_content/user_card_content.js | 6 |
1 files changed, 6 insertions, 0 deletions
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: { |
