added compare deck to house of card focus

This commit is contained in:
2026-03-08 06:22:27 -07:00
parent 4713bbd54b
commit cf6b2611aa
3 changed files with 671 additions and 24 deletions

View File

@@ -695,8 +695,9 @@
return `${manifest.basePath}/${relativePath}`;
}
function resolveTarotCardImage(cardName) {
const activePath = resolveWithDeck(activeDeckId, cardName);
function resolveTarotCardImage(cardName, optionsOrDeckId) {
const { resolvedDeckId } = resolveDeckOptions(optionsOrDeckId);
const activePath = resolveWithDeck(resolvedDeckId, cardName);
if (activePath) {
return encodeURI(activePath);
}