fix(SW-1180): update theme logic

This commit is contained in:
Fredrik Thorsson
2024-12-10 10:58:48 +01:00
parent 8ca7c44d10
commit 0ad703a29f

View File

@@ -43,7 +43,7 @@ export default function CardsGrid({
return ( return (
<Card <Card
theme={ theme={
cards_grid.theme ?? (card.backgroundImage ? "image" : "one") card.backgroundImage ? "image" : cards_grid.theme ?? "one"
} }
key={card.system.uid} key={card.system.uid}
scriptedTopTitle={card.scripted_top_title} scriptedTopTitle={card.scripted_top_title}