mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 18:55:44 +03: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;
|
||||
return new Date(filter.expiresAt) > new Date();
|
||||
});
|
||||
if (!appliedFilters.length) return true;
|
||||
const isHidden = appliedFilters.some((f) => f.filter.filterAction === 'hide');
|
||||
console.log({ isHidden, filtered, appliedFilters, item });
|
||||
if (isHidden) return false;
|
||||
|
|
Loading…
Reference in a new issue