From 8d183db8b400b0251b7c2323b207c7d6a074a24e Mon Sep 17 00:00:00 2001 From: Echo Date: Wed, 1 Jul 2026 11:10:19 +0200 Subject: [PATCH] [Glitch] Fix visual glitch with the spoiler button Port 16baa14ee14b606c60bca74d32bb67c13832f88d to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/components/spoiler_button.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/components/spoiler_button.tsx b/app/javascript/flavours/glitch/components/spoiler_button.tsx index bf84ffd04d..943fcdff12 100644 --- a/app/javascript/flavours/glitch/components/spoiler_button.tsx +++ b/app/javascript/flavours/glitch/components/spoiler_button.tsx @@ -30,7 +30,7 @@ export const SpoilerButton: React.FC = ({ action = ( ); - } else if (matchedFilters) { + } else if (matchedFilters?.length) { warning = ( = ({ disabled={uncached} > - {warning} + {warning} {action}