fix(events): ensure presenters and presentation-level files show correctly
- Harden 'ae_events__event_presenter.ts' to ensure both ID and ID_random fields are synced during refreshes. - Update presenter list wrapper to use '_id_random' for reliable Dexie queries. - Enable 'inc_all_file_li' and 'inc_file_li' in session loaders to pre-cache nested files. - Introduce 'Launcher_presentation_view.svelte' to explicitly display files linked to presentations. - Refactor presenter views to focus exclusively on speaker-specific files, avoiding UI duplication.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
// let ae_tmp: key_val = {};
|
||||
// let ae_triggers: key_val = {};
|
||||
|
||||
let dq__where_type_id_val: string = `${link_to_type}_id`;
|
||||
let dq__where_type_id_val: string = `${link_to_type}_id_random`;
|
||||
let dq__where_eq_id_val: string = link_to_id;
|
||||
|
||||
// *** Functions and Logic
|
||||
@@ -43,7 +43,7 @@
|
||||
let results = await db_events.presenter
|
||||
.where(dq__where_type_id_val)
|
||||
.equals(dq__where_eq_id_val)
|
||||
.sortBy('name');
|
||||
.sortBy('full_name');
|
||||
|
||||
return results;
|
||||
} else if (event_presenter_id_random_li.length > 0) {
|
||||
|
||||
@@ -555,6 +555,7 @@
|
||||
show_location_fields={true}
|
||||
show_presentation_fields={true}
|
||||
show_session_fields={true}
|
||||
bind:show_direct_download={$events_loc.pres_mgmt.show__direct_download}
|
||||
{hide_session_code}
|
||||
></Comp_event_file_obj_tbl>
|
||||
{/if}
|
||||
|
||||
@@ -48,6 +48,7 @@ export async function load({ params, parent }) {
|
||||
api_cfg: ae_acct.api,
|
||||
for_obj_type: 'event_session',
|
||||
for_obj_id: event_session_id,
|
||||
inc_file_li: true,
|
||||
inc_presenter_li: true,
|
||||
enabled: 'all',
|
||||
hidden: 'all',
|
||||
|
||||
Reference in New Issue
Block a user