diff options
author | Cyrille Bollu <cyrpub@bollu.be> | 2019-10-09 14:00:11 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-10-13 23:51:41 +0200 |
commit | 43944359909388de635198ca2818cbd51ba6b668 (patch) | |
tree | 1fba62e21b9e839eff72a50322642f0a0c8f8542 | |
parent | 5a5d9ce3aa121342516372cf2d9abd76440aac22 (diff) |
FIX: Uses the accountInfo() mixin in FollowButton
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
-rw-r--r-- | src/components/FollowButton.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/FollowButton.vue b/src/components/FollowButton.vue index f3aebfc1..b4d34664 100644 --- a/src/components/FollowButton.vue +++ b/src/components/FollowButton.vue @@ -22,7 +22,7 @@ <template> <!-- Show button only if user is authenticated and she is not the same as the account viewed --> - <div v-if="!serverData.public && actorInfo(account) && actorInfo(account).viewerLink!='viewer'"> + <div v-if="!serverData.public && accountInfo(account) && accountInfo(account).viewerLink!='viewer'"> <button v-if="isCurrentUserFollowing" :class="{'icon-loading-small': followLoading}" @click="unfollow()" @mouseover="followingText=t('social', 'Unfollow')" @mouseleave="followingText=t('social', 'Following')"> |