feat: add support for shows in /watching

This commit is contained in:
Devin Haska 2025-01-23 12:42:19 -08:00
parent 1f56815bd2
commit 3b1f704aea
10 changed files with 140 additions and 40 deletions

View file

@ -88,7 +88,9 @@ export const filterCatalogueTags = (tags) => {
export const limit = (collection, limit = 5) => collection.slice(0, limit);
export const filterFavourites = (collection) => {
return collection.filter((item) => item.data.favourite);
return collection.filter(
(item) => item.data.favourite || item.data.isFavourite,
);
};
export const isOld = (dateArg) => {