Add protected date management admin
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@
|
||||
if (storedActivities.length > 0) {
|
||||
activityIcon.textContent = storedActivities.map((a) => a.icon).join(" ");
|
||||
} else {
|
||||
fetch("appsettings.json")
|
||||
fetch("/api/settings", { cache: "no-store" })
|
||||
.then((res) => res.json())
|
||||
.then((settings) => {
|
||||
const match = (settings.activities || []).find((a) => a.name === selectedActivity);
|
||||
|
||||
Reference in New Issue
Block a user