Better (less) logging and other clean up

This commit is contained in:
Scott Idem
2024-06-24 15:51:30 -04:00
parent 0c4185f74c
commit c6b7c7e803
18 changed files with 1240 additions and 768 deletions

View File

@@ -5,20 +5,22 @@ import { events_func } from '$lib/ae_events_functions';
export async function load({ parent }) {
let log_lvl = 0;
let data = await parent();
// console.log(`ae_events_pres_mgmt +layout.ts data:`, data);
let account_id = data.account_id;
let ae_acct = data[account_id];
console.log(`ae_acct = `, ae_acct);
if (!account_id) {
console.log(`events_pres_mgmt +layout.ts: The account_id was not found in the data!!!`);
return false;
}
let ae_acct = data[account_id];
if (log_lvl) {
console.log(`ae_acct = `, ae_acct);
}
// // Should we limit these to event.conference = true?
// let load_event_obj_li = events_func.handle_load_ae_obj_li__event({
// api_cfg: ae_acct.api,