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
@@ -38,6 +38,7 @@
let config = {
elements: {},
ensure: {},
isSectionAccessible: () => true,
getReferenceData: () => null,
getMagickDataset: () => null,
calendarVisualsUi: null,
@@ -82,7 +83,10 @@
}
function setActiveSection(nextSection) {
const normalized = VALID_SECTIONS.has(nextSection) ? nextSection : "home";
const requestedSection = VALID_SECTIONS.has(nextSection) ? nextSection : "home";
const normalized = config.isSectionAccessible?.(requestedSection) === false
? "home"
: requestedSection;
activeSection = normalized;
const elements = config.elements || {};