mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(catalog): p/all description would show while filter to hide threads without images is turned on
This commit is contained in:
@@ -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
|
// 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({
|
_feed.unshift({
|
||||||
isDescription: true,
|
isDescription: true,
|
||||||
subplebbitAddress: address,
|
subplebbitAddress: address,
|
||||||
|
|||||||
Reference in New Issue
Block a user