Should have saved my progress earlier. Trying to redo things without using localStorage initially. Shared data...
This commit is contained in:
@@ -61,6 +61,9 @@ import Element_access_type from '$lib/element_access_type.svelte';
|
||||
import Element_app_cfg from '$lib/element_app_cfg.svelte';
|
||||
import Element_data_store from '$lib/element_data_store.svelte';
|
||||
|
||||
// let account_id = localStorage.getItem('ae_account_id');
|
||||
// console.log(`account_id = `, account_id);
|
||||
|
||||
// Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other. This should catch anything that is a child of this layout.svelte file.
|
||||
$slct.account_id = data.account_id;
|
||||
console.log(`$slct.account_id = `, $slct.account_id);
|
||||
@@ -175,7 +178,7 @@ onMount(() => {
|
||||
|
||||
|
||||
<svelte:head>
|
||||
<title>{ae_acct.loc.title}</title>
|
||||
<title>{ae_acct.loc.title ?? 'loading...'}</title>
|
||||
<link rel="stylesheet" href="{ae_acct.loc.site_style_href}">
|
||||
<!-- <link rel="manifest" href="/manifest.json"> -->
|
||||
</svelte:head>
|
||||
|
||||
Reference in New Issue
Block a user