update commit message
This commit is contained in:
+6
-2
@@ -23,6 +23,10 @@
|
||||
};
|
||||
let detailNavigator = null;
|
||||
|
||||
function hasTarotAccess() {
|
||||
return window.TarotAppConfig?.hasTarotAccess?.() === true;
|
||||
}
|
||||
|
||||
function normalizePlanetToken(value) {
|
||||
return String(value || "")
|
||||
.trim()
|
||||
@@ -290,7 +294,7 @@
|
||||
if (!correspondence || typeof correspondence !== "object") {
|
||||
const fallback = document.createElement("span");
|
||||
fallback.className = "planet-text";
|
||||
fallback.textContent = "No tarot/day correspondence in current local dataset.";
|
||||
fallback.textContent = "No day correspondence in current local dataset.";
|
||||
containerEl.appendChild(fallback);
|
||||
return;
|
||||
}
|
||||
@@ -309,7 +313,7 @@
|
||||
containerEl.appendChild(line);
|
||||
}
|
||||
|
||||
if (arcana) {
|
||||
if (arcana && hasTarotAccess()) {
|
||||
const btn = createInlineButton(
|
||||
trumpNo != null ? `${arcanaLabel} · Trump ${trumpNo}` : arcanaLabel,
|
||||
() => {
|
||||
|
||||
Reference in New Issue
Block a user