From 5d2e28eb5b7dd508597dfd83ee4d9f2b464864a1 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Thu, 5 Sep 2024 15:04:54 +0200 Subject: [PATCH] fix(catalog): p/all description would show while filter to hide threads without images is turned on --- src/hooks/use-catalog-feed-rows.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/use-catalog-feed-rows.ts b/src/hooks/use-catalog-feed-rows.ts index fdd86b6a..e7bdca87 100644 --- a/src/hooks/use-catalog-feed-rows.ts +++ b/src/hooks/use-catalog-feed-rows.ts @@ -63,7 +63,7 @@ const useCatalogFeedRows = (columnCount: number, feed: any, isFeedLoaded: boolea } // add subplebbit description and rules as fake posts at the top of the feed - if ((description && description.length > 0 && (showTextOnlyThreads || (!showTextOnlyThreads && suggested?.avatarUrl))) || isInAllView) { + if ((description && description.length > 0 && (showTextOnlyThreads || (!showTextOnlyThreads && suggested?.avatarUrl))) || (isInAllView && showTextOnlyThreads)) { _feed.unshift({ isDescription: true, subplebbitAddress: address,