diff --git a/app/javascript/flavours/glitch/features/status/components/detailed_status.js b/app/javascript/flavours/glitch/features/status/components/detailed_status.js index c4ac8f0a6..180b11a54 100644 --- a/app/javascript/flavours/glitch/features/status/components/detailed_status.js +++ b/app/javascript/flavours/glitch/features/status/components/detailed_status.js @@ -198,8 +198,8 @@ export default class DetailedStatus extends ImmutablePureComponent { reblogIcon = 'lock'; } - if (status.get('visibility') === 'private') { - reblogLink = ; + if (!['unlisted', 'public'].includes(status.get('visibility'))) { + reblogLink = null; } else if (this.context.router) { reblogLink = ( @@ -265,7 +265,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
- {applicationLink} · {reblogLink} · {favouriteLink} · + {applicationLink} {!!reblogLink && ['·', reblogLink]} · {favouriteLink} ·