kopia lustrzana https://github.com/nextcloud/social
FIX: Do not show follow button when viewer's account is the same as viewed one.
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>pull/787/head
rodzic
7ac1be6545
commit
5b948b76e6
|
@ -21,7 +21,8 @@
|
|||
-->
|
||||
|
||||
<template>
|
||||
<div v-if="!serverData.public && cloudId !== account && actorInfo">
|
||||
<!-- Show button only if user is authenticated and she is not the same as the account viewed -->
|
||||
<div v-if="!serverData.public && actorInfo && actorInfo.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