mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix: actually show Jellyfin recently played songs carousel (#1697)
This commit is contained in:
@@ -82,16 +82,7 @@ const HomeRoute = () => {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const sortedItems = homeItems.filter((item) => {
|
const sortedItems = homeItems.filter((item) => !item.disabled);
|
||||||
if (item.disabled) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (isJellyfin && item.id === HomeItem.RECENTLY_PLAYED) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
|
|
||||||
const sortedCarousel = sortedItems
|
const sortedCarousel = sortedItems
|
||||||
.filter((item) => item.id !== HomeItem.GENRES)
|
.filter((item) => item.id !== HomeItem.GENRES)
|
||||||
|
|||||||
Reference in New Issue
Block a user