diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index af033f1b..9f049b7c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -9,7 +9,7 @@ import '../app.postcss'; import { AppShell, AppBar, initializeStores } from '@skeletonlabs/skeleton'; // Initialize the stores for Drawer, Modal, and Toast so they work throughout the app. initializeStores(); -import { Modal } from '@skeletonlabs/skeleton'; +// import { Modal } from '@skeletonlabs/skeleton'; import type { ModalComponent } from '@skeletonlabs/skeleton'; @@ -94,6 +94,11 @@ if (log_lvl > 1) { console.log(`$slct = `, $slct); } +// This should only be temporary. +if (!$ae_loc.app_cfg) { + $ae_loc.app_cfg = {}; +} + // IDB caches - Check if the last reload timestamp for $ae_loc.last_idb_reload is no more than 15 minutes ago. let default_idb_reload_time = 120 * 60 * 1000; // 15 minutes? let trusted_idb_reload_time = 4 * 60 * 60 * 1000; // 4 hours or 120 minutes?