Lots of code clean up. Finally working on the Launcher piece again.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user