diff options
author | Cyrille Bollu <cyrpub@bollu.be> | 2019-09-19 10:05:34 +0200 |
---|---|---|
committer | Cyrille Bollu <cyrpub@bollu.be> | 2019-09-19 10:05:34 +0200 |
commit | 9fac5aea329ce38750a31adb11a89294db269e55 (patch) | |
tree | 5b5c9a1a58db865904944a36ea1646a9e46c7bc5 /src | |
parent | 128438e705d87550031e6207997768b505306612 (diff) |
Do not show post action buttons when non-authenticated
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/TimelinePost.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/TimelinePost.vue b/src/components/TimelinePost.vue index 6c86b936..aee1437e 100644 --- a/src/components/TimelinePost.vue +++ b/src/components/TimelinePost.vue @@ -37,7 +37,7 @@ <div v-if="hasAttachments" class="post-attachments"> <post-attachment :attachments="item.attachment" /> </div> - <div v-if="this.$route.params.type!=='notifications'" v-click-outside="hidePopoverMenu" class="post-actions"> + <div v-if="this.$route.params.type!=='notifications' && !serverData.public" 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'" |