sforkowany z mirror/social
Hide follow buttons in user list for public users
Signed-off-by: Julius Härtl <jus@bitgrid.net>alpha1
rodzic
a951c01aff
commit
23087a0362
|
@ -37,7 +37,7 @@
|
|||
<!-- TODO check where the html is coming from to avoid security issues -->
|
||||
<p v-html="item.summary" />
|
||||
</div>
|
||||
<template v-if="cloudId !== item.account">
|
||||
<template v-if="!serverData.public && cloudId !== item.account">
|
||||
<button v-if="item.details && item.details.following" :class="{'icon-loading-small': followLoading}"
|
||||
@click="unfollow()"
|
||||
@mouseover="followingText=t('social', 'Unfollow')" @mouseleave="followingText=t('social', 'Following')">
|
||||
|
|
Ładowanie…
Reference in New Issue