diff --git a/src/routes/events_pres_mgmt/(launcher)/launcher/[slug]/+page@(launcher).svelte b/src/routes/events_pres_mgmt/(launcher)/launcher/[slug]/+page@(launcher).svelte
index 069fe4ef..d8a16216 100644
--- a/src/routes/events_pres_mgmt/(launcher)/launcher/[slug]/+page@(launcher).svelte
+++ b/src/routes/events_pres_mgmt/(launcher)/launcher/[slug]/+page@(launcher).svelte
@@ -127,24 +127,26 @@ let bi_trig__event_location: any = null;
let bi_id_li__event_location: string[] = [];
// $: if ($events_trigger == 'event_location_li' && $events_slct.event_location_obj_li && $events_slct.event_location_obj_li.length > 0) {
// $: if (bi_trig__event_location == 'event_location_li' && $events_slct.event_location_obj_li && $events_slct.event_location_obj_li.length > 0) {
-$: if (ae_acct.trig.event_location_obj_li) {
- console.log(`$events_slct.event_location_obj_li:`, $events_slct.event_location_obj_li);
- // $events_trigger = null;
- bi_trig__event_location = null;
+// $: if ($events_slct.event_location_obj_li) {
+// console.log(`$events_slct.event_location_obj_li:`, $events_slct.event_location_obj_li);
+// // $events_trigger = null;
+// bi_trig__event_location = null;
- bi_id_li__event_location = [];
+// bi_id_li__event_location = [];
- let tmp_li = []; // This is to prevent the array from constantly updating and triggering the liveQuery.
+// let tmp_li = []; // This is to prevent the array from constantly updating and triggering the liveQuery.
- for (let i = 0; i < $events_slct.event_location_obj_li.length; i++) {
- let event_location_obj = $events_slct.event_location_obj_li[i];
- let event_location_id_random = event_location_obj.event_location_id_random;
- tmp_li.push(event_location_id_random);
- }
- bi_id_li__event_location = tmp_li;
- console.log(`bi_id_li__event_location:`, bi_id_li__event_location);
- $events_slct.id_li__event_location = bi_id_li__event_location;
-}
+// for (let i = 0; i < $events_slct.event_location_obj_li.length; i++) {
+// let event_location_obj = $events_slct.event_location_obj_li[i];
+// let event_location_id_random = event_location_obj.event_location_id_random;
+// tmp_li.push(event_location_id_random);
+// }
+// bi_id_li__event_location = tmp_li;
+// console.log(`bi_id_li__event_location:`, bi_id_li__event_location);
+// $events_slct.id_li__event_location = bi_id_li__event_location;
+
+// $events_slct.event_location_obj_li = ae_acct.slct.event_location_obj_li;
+// }
let bi_trig__event_session: any = null;
let bi_id_li__event_session: string[] = [];
@@ -215,7 +217,7 @@ let lq__event_session_obj_li = liveQuery(
let lq_get__event_session_obj_li = liveQuery(
() => db_events.sessions
- .bulkGet($events_slct.id_li__event_session ?? [''])
+ .bulkGet($events_slct.id_li__event_session)
);
@@ -286,25 +288,17 @@ onMount(() => {
Loading location list... a
{:then event_location_obj_li}
- {#if $lq__event_obj && bi_id_li__event_location && bi_id_li__event_location.length > 0}
+ {#if $lq__event_obj && $events_slct.event_location_obj_li}