Lots of work on the Launcher and configuration. Looks pretty good and useful.
This commit is contained in:
@@ -8,12 +8,12 @@ import { browser } from '$app/environment';
|
||||
// *** Import other supporting libraries
|
||||
// import * as icons from '@lucide/svelte';
|
||||
import {
|
||||
Brain,
|
||||
House, Library,
|
||||
RefreshCw,
|
||||
Satellite
|
||||
} from '@lucide/svelte';
|
||||
import { Modal } from '@skeletonlabs/skeleton-svelte';
|
||||
Brain,
|
||||
House, Library,
|
||||
RefreshCw,
|
||||
Satellite
|
||||
} from '@lucide/svelte';
|
||||
// import { Modal } from '@skeletonlabs/skeleton-svelte';
|
||||
|
||||
// *** Import Aether specific variables and functions
|
||||
import type { key_val } from '$lib/ae_stores';
|
||||
@@ -39,7 +39,7 @@ $events_loc.qry__limit = 15;
|
||||
$events_loc.qry__offset = 0;
|
||||
|
||||
// Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other.
|
||||
$slct.account_id = data.account_id;
|
||||
// $slct.account_id = data.account_id;
|
||||
console.log(`$slct.account_id = `, $slct.account_id);
|
||||
if (log_lvl) {
|
||||
console.log(`$slct.account_id = `, $slct.account_id);
|
||||
@@ -102,7 +102,7 @@ function clear_local() {
|
||||
$ae_loc.authenticated_access = false;
|
||||
$ae_loc.edit_mode = false;
|
||||
|
||||
$ae_loc.ver = '';
|
||||
// $ae_loc.ver = '';
|
||||
|
||||
localStorage.clear();
|
||||
// window.localStorage.clear();
|
||||
@@ -151,12 +151,11 @@ function clear_sess() {
|
||||
|
||||
// Clear localStorage and sessionStorage
|
||||
clear_local();
|
||||
// clear_sess();
|
||||
clear_sess();
|
||||
|
||||
alert('The page will now reload. You may need to sign in again.');
|
||||
// Clear local storage and reload the page to get the latest version.
|
||||
// window.localStorage.clear();
|
||||
location.reload();
|
||||
// window.location.reload(true);
|
||||
}}
|
||||
title="A new version of One Sky IT's Aether Events module is available. Click to reload the page and use the latest version."
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user