Fix recent filter and ship pending UI tweaks
This commit is contained in:
parent
5cc21194a0
commit
794b083356
|
|
@ -858,8 +858,8 @@ export function usePostsEngine({
|
|||
if (pc !== catCode) return false;
|
||||
}
|
||||
if (!matchesSubFilter(p, subFilter)) return false;
|
||||
const postTf = (p?._swTimeFilter || "").toString();
|
||||
if (postTf !== tf && !matchesTimeFilter(effectivePostTime(p), tf)) return false;
|
||||
const skipTimeFilter = lastFetchRef.current?.timeFilter === tf;
|
||||
if (!skipTimeFilter && !matchesTimeFilter(effectivePostTime(p), tf)) return false;
|
||||
if (!searchResultsRef.current && !matchesSearch(p, searchQuery)) return false;
|
||||
return true;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue