mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 00:56:23 +01:00
Fix some toots gone missing
This commit is contained in:
parent
4358f12106
commit
12a4b4b3b8
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ export function filteredItem(item, filterContext, currentAccountID) {
|
||||||
if (!filter.expiresAt) return hasContext;
|
if (!filter.expiresAt) return hasContext;
|
||||||
return new Date(filter.expiresAt) > new Date();
|
return new Date(filter.expiresAt) > new Date();
|
||||||
});
|
});
|
||||||
|
if (!appliedFilters.length) return true;
|
||||||
const isHidden = appliedFilters.some((f) => f.filter.filterAction === 'hide');
|
const isHidden = appliedFilters.some((f) => f.filter.filterAction === 'hide');
|
||||||
console.log({ isHidden, filtered, appliedFilters, item });
|
console.log({ isHidden, filtered, appliedFilters, item });
|
||||||
if (isHidden) return false;
|
if (isHidden) return false;
|
||||||
|
|
Loading…
Reference in a new issue