Done for the night I guess.

This commit is contained in:
Scott Idem
2024-03-27 20:15:30 -04:00
parent b336f18512
commit 7cc23077f3
8 changed files with 16 additions and 14 deletions

View File

@@ -8,9 +8,9 @@ import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores';
// Quickly save the data passed from the parent(s) to the Svelte stores, localStorage, and other.
// $slct.account_id = data.account_id;
console.log(`$slct.account_id = `, $slct.account_id);
// console.log(`$slct.account_id = `, $slct.account_id);
let ae_acct = data[$slct.account_id];
console.log(`ae_acct = `, ae_acct);
// console.log(`ae_acct = `, ae_acct);
// $ae_loc = ae_acct.loc;
$ae_loc.mod.sponsorships.cfg_id = ae_acct.slct.sponsorship_cfg_id;
@@ -37,6 +37,7 @@ $ae_loc.mod.sponsorships.level_guest_max_li = {
onMount(() => {
// console.log($slct.sponsorship_cfg_obj);
if (data.url.searchParams.get('sponsorship_cfg_id')) {
$ae_loc.mod.sponsorships.cfg_id = data.url.searchParams.get('sponsorship_cfg_id');
$slct.sponsorship_cfg_id = data.url.searchParams.get('sponsorship_cfg_id');
@@ -46,7 +47,7 @@ onMount(() => {
<svelte:head>
<title>Sponsor Hub - {$ae_loc.title}</title>
<title>Sponsor Hub - {$ae_loc.title ?? 'Æ loading...'}</title>
</svelte:head>
<!-- <h1>Sponsorships Layout?</h1> -->

View File

@@ -17,7 +17,7 @@ export async function load({ parent }) {
let account_id = data.account_id;
let ae_acct = data[account_id];
console.log(`ae_acct = `, ae_acct);
// console.log(`ae_acct = `, ae_acct);
if (!account_id) {
console.log(`sponsorships +layout.ts: The account_id was not found in the data!!!`);

View File

@@ -1,5 +1,6 @@
<script lang="ts">
export let data;
// console.log(`ae_ Svelte Sponsorships +page data:`, data);
import { onMount } from 'svelte';