added compare deck to house of card focus
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user