diff options
author | Louis Chemineau <louis@chmn.me> | 2023-04-04 15:17:19 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-04-04 15:17:19 +0200 |
commit | 9adf37385c4ae2dfaab09999e0a204715cb080c2 (patch) | |
tree | 52765035059ea826b8ee0a86b807293dc92a693a /src | |
parent | eac9f58f414ed5cfc377bfb52ec4126432001e4d (diff) |
Limit reblog action to status with 'public' and 'followers' visibility
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/TimelinePost.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/TimelinePost.vue b/src/components/TimelinePost.vue index 1a474733..fa849436 100644 --- a/src/components/TimelinePost.vue +++ b/src/components/TimelinePost.vue @@ -44,7 +44,8 @@ </span> </template> </NcButton> - <NcButton :title="t('social', 'Boost')" + <NcButton v-if="item.visibility === 'public' || item.visibility === 'followers'" + :title="t('social', 'Boost')" type="tertiary-no-background" @click="boost"> <template #icon> |