General work through out the day. Lots of interruptions from the dogs.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/** @type {import('./$types').PageLoad} */
|
||||
console.log(`ae_events_leads +page.ts start`);
|
||||
|
||||
import { events_func } from '$lib/ae_events_functions';
|
||||
|
||||
@@ -11,11 +12,11 @@ export async function load({ params, parent, url }) { // route
|
||||
// console.log(`ae_events_leads +page.ts data:`, data);
|
||||
|
||||
// console.log(`ae_events_leads +page.ts data.ae_loc:`, data.ae_loc);
|
||||
if (data.ae_loc.account_id) {
|
||||
} else {
|
||||
console.log(`The account_id was not found in the data.ae_loc!!!`);
|
||||
return false;
|
||||
}
|
||||
// if (data.ae_loc.account_id) {
|
||||
// } else {
|
||||
// console.log(`The account_id was not found in the data.ae_loc!!!`);
|
||||
// return false;
|
||||
// }
|
||||
|
||||
data.ae_events_leads_page_ts = true;
|
||||
|
||||
@@ -27,12 +28,12 @@ export async function load({ params, parent, url }) { // route
|
||||
data.submenu = submenu
|
||||
|
||||
// Do not wait on these:
|
||||
let event_id = url.searchParams.get('event_id');
|
||||
let load_event_obj = events_func.handle_load_ae_obj_id__event({api_cfg: data.ae_api, event_id: event_id, try_cache: false});
|
||||
// let event_id = url.searchParams.get('event_id');
|
||||
// let load_event_obj = events_func.handle_load_ae_obj_id__event({api_cfg: data.ae_api, event_id: event_id, try_cache: false});
|
||||
// console.log(`load_event_obj = `, load_event_obj);
|
||||
|
||||
let load_event_exhibit_obj_li = events_func.handle_load_ae_obj_li__exhibit({api_cfg: data.ae_api, event_id: event_id, try_cache: false});
|
||||
console.log(`load_event_exhibit_obj_li = `, load_event_exhibit_obj_li);
|
||||
// let load_event_exhibit_obj_li = events_func.handle_load_ae_obj_li__exhibit({api_cfg: data.ae_api, event_id: event_id, try_cache: false});
|
||||
// console.log(`load_event_exhibit_obj_li = `, load_event_exhibit_obj_li);
|
||||
|
||||
// let exhibit_id = data.params.slug;
|
||||
// let load_event_exhibit_obj = events_func.handle_load_ae_obj_id__exhibit({api_cfg: data.ae_api, exhibit_id: exhibit_id, try_cache: false});
|
||||
|
||||
Reference in New Issue
Block a user