Add blurhash to cards

This commit is contained in:
prayag17 committed 2023-04-05 21:41:37 +05:30
1 parent 50f8e1c0f1
commit 2bbe846184
7 files changed
+215 -55

No files matched your search

+20
View File
@@ -367,6 +367,26 @@ const LibraryView = () => {
item.UserData
.UnplayedItemCount
}
blurhash={
item.ImageBlurHashes ==
{}
? ""
: !!item
.ImageTags
.Primary
? !!item
.ImageBlurHashes
.Primary
? item
.ImageBlurHashes
.Primary[
item
.ImageTags
.Primary
]
: ""
: ""
}
></Card>
</Grid2>
);