feat: add support for shows in /watching
This commit is contained in:
parent
1f56815bd2
commit
3b1f704aea
10 changed files with 140 additions and 40 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue