Update sidemenu and cards

This commit is contained in:
Prayag Prajapati committed 2023-08-31 14:58:17 +05:30
1 parent 7dd5fd89f8
commit e36f92e135
6 files changed
+61 -39

No files matched your search

+12
View File
@@ -351,6 +351,12 @@ const Home = () => {
item.Type ==
BaseItemKind.Episode
? "Primary"
: Object.keys(
item.ImageTags,
).includes(
"Thumb",
)
? "Thumb"
: "Backdrop"
}
secondaryText={
@@ -383,6 +389,12 @@ const Home = () => {
)[0]
]
}
availableImagesTypes={
!!item.ImageTags &&
Object.keys(
item.ImageTags,
)
}
></Card>
);
},