update commit message

This commit is contained in:
2026-05-29 00:27:03 -07:00
parent ed1107a0c0
commit 254f488eca
21 changed files with 565 additions and 210 deletions
+5 -1
View File
@@ -52,6 +52,10 @@
Object.assign(api, config || {});
}
function hasTarotAccess() {
return window.TarotAppConfig?.hasTarotAccess?.() === true;
}
function getState() {
return api.getState?.() || {};
}
@@ -158,7 +162,7 @@
}
}
if (associations.tarotCard) {
if (associations.tarotCard && hasTarotAccess()) {
const explicitTrumpNumber = Number(associations.tarotTrumpNumber);
const tarotTrumpNumber = Number.isFinite(explicitTrumpNumber) ? explicitTrumpNumber : null;
const tarotLabel = api.getDisplayTarotName(associations.tarotCard, tarotTrumpNumber);