From b22272fcdce24b26a6cd5c422e8a838b058ab717 Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 2 Oct 2024 17:51:05 +0200 Subject: [PATCH] [Glitch] Hide badges in media gallery when media are hidden Port f768a6eb16880f4e584db530e4106be9b9dcf206 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/components/media_gallery.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/media_gallery.jsx b/app/javascript/flavours/glitch/components/media_gallery.jsx index 4d51bdcdc2..5b1e56185e 100644 --- a/app/javascript/flavours/glitch/components/media_gallery.jsx +++ b/app/javascript/flavours/glitch/components/media_gallery.jsx @@ -198,7 +198,7 @@ class Item extends PureComponent { {visible && thumbnail} - {badges && ( + {visible && badges && (
{badges}