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
+9 -2
View File
@@ -30,6 +30,10 @@
lettersById: new Map()
};
function hasTarotAccess() {
return window.TarotAppConfig?.hasTarotAccess?.() === true;
}
function getElements() {
return {
listEl: document.getElementById("enochian-list"),
@@ -306,10 +310,13 @@
const detailRows = [
["Pronunciation", letterData.pronounciation],
["Planet / Element", letterData["planet/element"]],
["Tarot", letterData.tarot],
["Gematria", letterData.gematria]
];
if (hasTarotAccess()) {
detailRows.splice(2, 0, ["Tarot", letterData.tarot]);
}
detailRows.forEach(([label, value]) => {
if (value === undefined || value === null || String(value).trim() === "") {
return;
@@ -324,7 +331,7 @@
navRow.className = "enoch-letter-row";
const tarotCardName = resolveTarotCardName(letterData.tarot);
if (tarotCardName) {
if (hasTarotAccess() && tarotCardName) {
const tarotBtn = document.createElement("button");
tarotBtn.type = "button";
tarotBtn.className = "enoch-nav-btn";