Moving files around. Breaking links to sessions and other things.

This commit is contained in:
Scott Idem
2024-10-30 18:14:30 -04:00
parent 79e83c26a7
commit 19ce353a26
41 changed files with 417 additions and 429 deletions

View File

@@ -0,0 +1,34 @@
/** @type {import('./$types').PageLoad} */
import { error } from '@sveltejs/kit';
import { events_func } from '$lib/ae_events_functions';
export async function load({ parent }) {
let log_lvl = 0;
let data = await parent();
// let account_id = data.account_id;
// if (!account_id) {
// console.log(`events_pres_mgmt +page.ts: The account_id was not found in the data!!!`);
// error(500, {
// message: 'Not found'
// });
// }
// let ae_acct = data[account_id];
// Should we limit these to event.conference = true?
// let load_event_obj_li = await events_func.load_ae_obj_li__event({
// api_cfg: ae_acct.api,
// account_id: account_id,
// params: {enabled: 'enabled', qry__limit: 25},
// try_cache: false,
// log_lvl: 1
// });
// ae_acct.slct.event_obj_li = load_event_obj_li;
// data[account_id] = ae_acct;
return data;
}