fix(catalog): p/all description would show while filter to hide threads without images is turned on

This commit is contained in:
Tom (plebeius.eth)
2024-09-05 15:04:54 +02:00
parent da33358ca4
commit 5d2e28eb5b
+1 -1
View File
@@ -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,