From 2921233163b04d2005e058ab56a2fe6afe02695e Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 24 Jul 2026 16:46:00 +0200 Subject: [PATCH] =?UTF-8?q?[Glitch]=20Fix=20=E2=80=9CHide=20media=20with?= =?UTF-8?q?=20a=20warning=E2=80=9D=20filters=20not=20being=20applied=20cor?= =?UTF-8?q?rectly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Port 1553ca26f27af816885970a02b2bf69b64748e46 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/selectors/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/selectors/index.js b/app/javascript/flavours/glitch/selectors/index.js index 770aef7f98..e17d38c1da 100644 --- a/app/javascript/flavours/glitch/selectors/index.js +++ b/app/javascript/flavours/glitch/selectors/index.js @@ -76,8 +76,8 @@ function getStatusResultFunction( status: statusBase.withMutations(map => { map.set('reblog', statusReblog); map.set('account', accountBase); - map.set('matched_filters', filtered); - map.set('matched_media_filters', mediaFiltered); + map.set('matched_filters', filtered ? filtered.toJS() : false); + map.set('matched_media_filters', mediaFiltered ? mediaFiltered.toJS() : false); }), loadingState: statusBase.get('isLoading') ? 'loading' : 'complete' };