Don't display post's actions in the notifications timeline

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
pull/625/head
Cyrille Bollu 2019-09-10 13:34:56 +02:00
rodzic 33ba9440b9
commit 42645328c1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -37,7 +37,7 @@
<div v-if="hasAttachments" class="post-attachments">
<post-attachment :attachments="item.attachment" />
</div>
<div v-click-outside="hidePopoverMenu" class="post-actions">
<div v-if="this.$route.params.type!=='notifications'" v-click-outside="hidePopoverMenu" class="post-actions">
<a v-tooltip.bottom="t('social', 'Reply')" class="icon-reply" @click.prevent="reply" />
<a v-if="item.actor_info.account !== cloudId" v-tooltip.bottom="t('social', 'Boost')"
:class="(isBoosted) ? 'icon-boosted' : 'icon-boost'"