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

@@ -52,7 +52,7 @@ let lq__event_file_obj_li = $derived(liveQuery(async () => {
let results = await db_events.file
.where(dq__where_val)
.equals(dq__where_eq_val)
.and(file => file.for_id_random == dq__where_for_id_eq_val)
.and(file => file.for_id == dq__where_for_id_eq_val)
.reverse()
.sortBy('created_on')
// .toArray()