summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrille Bollu <cyrpub@bollu.be>2019-10-09 14:00:11 +0200
committerRobin Appelman <robin@icewind.nl>2020-10-13 23:51:41 +0200
commit43944359909388de635198ca2818cbd51ba6b668 (patch)
tree1fba62e21b9e839eff72a50322642f0a0c8f8542
parent5a5d9ce3aa121342516372cf2d9abd76440aac22 (diff)
FIX: Uses the accountInfo() mixin in FollowButton
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
-rw-r--r--src/components/FollowButton.vue2
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')">