kopia lustrzana https://github.com/nextcloud/social
FIX: Uses the accountInfo() mixin in FollowButton
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>pull/793/head
rodzic
5a5d9ce3aa
commit
4394435990
|
@ -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')">
|
||||
|
|
Ładowanie…
Reference in New Issue