The search is working better now. Also better and less debug logging.
This commit is contained in:
@@ -54,7 +54,8 @@ $: lq_new__event_obj_li = liveQuery(async () => {
|
||||
let link_to_id: string = $slct.account_id;
|
||||
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
|
||||
|
||||
if (event_id_random_li?.length) {
|
||||
// Check if event_id_random_li is an array and not undefined
|
||||
if (event_id_random_li) {
|
||||
console.log(`Trying bulkGet:`, event_id_random_li);
|
||||
let results = await db_events.events
|
||||
.bulkGet(event_id_random_li);
|
||||
|
||||
Reference in New Issue
Block a user