Update sidemenu and cards
This commit is contained in:
6 files changed
+61
-39
No files matched your search
@@ -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>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user