fix(events): Correct data fetching for session child objects

This commit fixes a bug where presentations, presenters, and files related to a session were not being displayed. The issues were caused by incorrect property names ( suffix) and improper use of Svelte 5 features after a recent refactoring.
This commit is contained in:
Scott Idem
2025-11-17 17:47:24 -05:00
parent a3b37a5df4
commit b99e85f1db
5 changed files with 25 additions and 33 deletions

View File

@@ -34,7 +34,7 @@ if (log_lvl) {
// let ae_tmp: key_val = {};
// let ae_triggers: key_val = {};
let dq__where_type_id_val: string = `${link_to_type}_id_random`;
let dq__where_type_id_val: string = `${link_to_type}_id`;
let dq__where_eq_id_val: string = link_to_id;
// *** Functions and Logic

View File

@@ -47,7 +47,7 @@ if (log_lvl) {
let event_presenter_id_random_li: Array<string> = $state([]);
let dq__where_type_id_val: string = `${link_to_type}_id_random`;
let dq__where_type_id_val: string = `${link_to_type}_id`;
let dq__where_eq_id_val: string = link_to_id ?? '';

View File

@@ -960,17 +960,13 @@ let clipboard_success = $state(false);
class="w-full"
>
{#await lq__event_presentation_obj_li}
Loading....
{:then event_presentation_obj_li}
{#if event_presentation_obj_li && event_presentation_obj_li?.length > 0}
{#if $lq__event_presentation_obj_li && $lq__event_presentation_obj_li?.length > 0}
<Comp_event_presentation_obj_li
lq__event_presentation_obj_li={event_presentation_obj_li}
lq__event_presentation_obj_li={lq__event_presentation_obj_li}
log_lvl={log_lvl}
>
</Comp_event_presentation_obj_li>
{/if}
{/await}
</section>