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:
@@ -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
|
||||
|
||||
@@ -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 ?? '';
|
||||
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user