Lots of code clean up. Finally working on the Launcher piece again.

This commit is contained in:
Scott Idem
2025-07-21 16:40:37 -04:00
parent ee0e108322
commit b54f43be35
25 changed files with 411 additions and 355 deletions

View File

@@ -44,12 +44,26 @@ export async function load({ params, parent }) { // route
let load_event_obj = await events_func.load_ae_obj_id__event({
api_cfg: ae_acct.api,
event_id: event_id,
inc_device_li: true,
// inc_file_li: true,
// inc_device_li: true,
inc_location_li: true,
inc_session_li: true,
try_cache: true,
log_lvl: log_lvl
// })
// .then((results) => {
// if (!results) {
// error(404, {
// message: 'Events - Event not found'
// });
// } else {
// // ae_acct.slct.event_obj = results;
// }
});
if (!load_event_obj) {
error(404, {
message: 'Events - Event not found'
});
}
console.log(`load_event_obj = `, load_event_obj);
ae_acct.slct.event_obj = load_event_obj;
ae_acct.slct.event_device_obj_li = load_event_obj.event_device_obj_li;