Getting the badges up and running again
This commit is contained in:
@@ -5,20 +5,11 @@ export let data: any;
|
||||
import { goto } from '$app/navigation';
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
// import type { key_val } from '$lib/ae_stores';
|
||||
// import { ae_util } from '$lib/ae_utils';
|
||||
import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores';
|
||||
import { events_loc, events_slct, events_trigger } from '$lib/ae_events_stores';
|
||||
import { ae_util } from '$lib/ae_utils';
|
||||
|
||||
// if (!$ae_api.account_id || !$ae_api.headers['x-account-id']) {
|
||||
// console.log(`Account ID not set. Redirecting to root if can not fix.`);
|
||||
|
||||
// if ($ae_loc.account_id) {
|
||||
// $ae_api.account_id = $ae_loc.account_id;
|
||||
// $ae_api.headers['x-account-id'] = $ae_loc.account_id;
|
||||
// } else {
|
||||
// console.log(`Account ID not set!!!`);
|
||||
// }
|
||||
// }
|
||||
|
||||
$events_loc.qry__enabled = 'enabled';
|
||||
$events_loc.qry__hidden = 'not_hidden';
|
||||
@@ -31,9 +22,9 @@ console.log(`$slct.account_id = `, $slct.account_id);
|
||||
let ae_acct = data[$slct.account_id];
|
||||
console.log(`ae_acct = `, ae_acct);
|
||||
|
||||
$events_slct.event_id = ae_acct.slct.event_id
|
||||
$events_slct.event_obj = ae_acct.slct.event_obj
|
||||
$events_slct.exhibit_obj_li = ae_acct.slct.event_exhibit_obj_li
|
||||
$events_slct.event_id = ae_acct.slct.event_id;
|
||||
$events_slct.event_obj = ae_acct.slct.event_obj;
|
||||
$events_slct.exhibit_obj_li = ae_acct.slct.event_exhibit_obj_li;
|
||||
|
||||
|
||||
onMount(() => {
|
||||
@@ -55,7 +46,7 @@ onMount(() => {
|
||||
|
||||
|
||||
<svelte:head>
|
||||
<title>Events Leads - {$events_loc.title}</title>
|
||||
<title>Events Leads - {$events_loc.title ?? 'Æ loading...'}</title>
|
||||
</svelte:head>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user