Trying to wrap up for the day.

This commit is contained in:
Scott Idem
2024-06-12 18:58:06 -04:00
parent b368abc91a
commit 84f6f1eda8
6 changed files with 122 additions and 27 deletions

View File

@@ -1,6 +1,29 @@
/** @type {import('./$types').PageLoad} */
export function load() {
return {
ae_events_pres_mgmt_page_ts: true,
};
import { events_func } from '$lib/ae_events_functions';
export async function load({ parent }) {
let data = await parent();
let account_id = data.account_id;
let ae_acct = data[account_id];
// Should we limit these to event.conference = true?
let load_event_obj_li = await events_func.handle_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;
// return {
// ae_events_pres_mgmt_page_ts: true,
// };
}