Working on annoying version bug fixes. Also trying to make sure the show/hide lock menu works correctly.

This commit is contained in:
Scott Idem
2025-04-25 14:37:12 -04:00
parent 7c30b163b1
commit 15ee3da76d
2 changed files with 27 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ export let ae_snip = string_snippets;
// };
// Set the version for the app data. Changing this should force a notification and ask the user to clear and reload the page.
let ver = '2025-04-18_1335';
let ver = '2025-04-18_1335'; // KEEP: 2025-04-18_1335
let ver_idb = '2025-04-18_1100'; // Not used
// *** BEGIN *** Longer-term app data. This should be stored to local storage.
@@ -244,6 +244,9 @@ export let ae_app_local_data_struct: key_val = {
test: true,
}
// console.log(`AE Stores - App Local Storage Data:`, ae_app_local_data_struct);
if (!ae_app_local_data_struct.ver1) {
console.log(`AE Stores - App Local Storage Data:`, ae_app_local_data_struct);
}
// This works, but does not uses local storage:
// export let ae_loc = writable(ae_app_local_data_struct);