Fix some toots gone missing

This commit is contained in:
Lim Chee Aun 2023-03-27 16:46:51 +08:00
parent 4358f12106
commit 12a4b4b3b8

View file

@ -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;