Minor temp bug fix

This commit is contained in:
Scott Idem
2025-03-28 17:27:25 -04:00
parent aaaa0da1f9
commit f423345e42

View File

@@ -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?