Limit reblog action to status with 'public' and 'followers' visibility

Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/1714/head
Louis Chemineau 2023-04-04 15:17:19 +02:00
rodzic eac9f58f41
commit 9adf37385c
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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>