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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user