From 497ca73edeabdcf1482a6b022776fcd0512dabfa Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 25 Jul 2023 16:45:15 -0500 Subject: [PATCH 1/2] Enable trending tags for Ditto --- app/soapbox/utils/features.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 921715c08c..c09f658102 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -960,6 +960,7 @@ const getInstanceFeatures = (instance: Instance) => { v.software === FRIENDICA && gte(v.version, '2022.12.0'), v.software === MASTODON && gte(v.compatVersion, '3.0.0'), v.software === TRUTHSOCIAL, + v.software === DITTO, ]), /** From f9b4a89ead3a1e9997e3f197f543d707ccb56434 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 25 Jul 2023 23:23:33 -0500 Subject: [PATCH 2/2] Hashtag: fix conditional display of "x people talking" --- app/soapbox/components/hashtag.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/components/hashtag.tsx b/app/soapbox/components/hashtag.tsx index 8dc74230ee..41b2c07a6a 100644 --- a/app/soapbox/components/hashtag.tsx +++ b/app/soapbox/components/hashtag.tsx @@ -23,7 +23,7 @@ const Hashtag: React.FC = ({ hashtag }) => { #{hashtag.name} - {hashtag.history && ( + {Boolean(count) && (