Moving things to SK. Added events and sessions.
This commit is contained in:
@@ -19,13 +19,28 @@ export async function load({ parent }) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// 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,
|
||||
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;
|
||||
|
||||
|
||||
let event_id = ae_acct.slct.event_id;
|
||||
if (!event_id) {
|
||||
console.log(`events_pres_mgmt +layout.ts: The event_id was not found in the data!!!`);
|
||||
return false;
|
||||
}
|
||||
|
||||
let load_event_obj = events_func.handle_load_ae_obj_id__event({api_cfg: ae_acct.api, event_id: event_id, try_cache: false});
|
||||
let load_event_obj = events_func.handle_load_ae_obj_id__event({
|
||||
api_cfg: ae_acct.api,
|
||||
event_id: event_id,
|
||||
try_cache: false
|
||||
});
|
||||
|
||||
ae_acct.slct.event_obj = load_event_obj;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user