update commit message
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
(function () {
|
||||
"use strict";
|
||||
|
||||
function hasTarotAccess() {
|
||||
return window.TarotAppConfig?.hasTarotAccess?.() === true;
|
||||
}
|
||||
|
||||
function findSignIdByAstrologyName(name, context) {
|
||||
const { api, getState } = context;
|
||||
const token = api.normalizeCalendarText(name);
|
||||
@@ -140,6 +144,10 @@
|
||||
}
|
||||
|
||||
function renderMajorArcanaCard(context) {
|
||||
if (!hasTarotAccess()) {
|
||||
return "";
|
||||
}
|
||||
|
||||
const { month, api } = context;
|
||||
const selectedDay = api.getSelectedDayFilterContext(month);
|
||||
const allRows = buildMajorArcanaRowsForMonth(context);
|
||||
@@ -191,6 +199,10 @@
|
||||
}
|
||||
|
||||
function renderDecanTarotCard(context) {
|
||||
if (!hasTarotAccess()) {
|
||||
return "";
|
||||
}
|
||||
|
||||
const { month, api } = context;
|
||||
const selectedDay = api.getSelectedDayFilterContext(month);
|
||||
const allRows = api.buildDecanTarotRowsForMonth(month);
|
||||
|
||||
Reference in New Issue
Block a user