From afdd75e1f914ed5064cae2c9f96f9d494b79b5fe Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 30 Nov 2022 14:44:06 +0100 Subject: [PATCH] Fix translate button not being shown when the toot has no Content Warning --- app/javascript/flavours/glitch/components/status_content.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js index 9ed9fbf9bd..2c59c054f3 100644 --- a/app/javascript/flavours/glitch/components/status_content.js +++ b/app/javascript/flavours/glitch/components/status_content.js @@ -432,7 +432,7 @@ class StatusContent extends React.PureComponent { /> {media} {extraMedia} - {!hidden && translateButton} + {translateButton} ); } else { @@ -453,7 +453,7 @@ class StatusContent extends React.PureComponent { /> {media} {extraMedia} - {!hidden && translateButton} + {translateButton} ); }