Will come back to the LiveQuery undefined thing later...

This commit is contained in:
Scott Idem
2024-07-01 20:37:19 -04:00
parent acc39ecb50
commit 6d06347e0a

View File

@@ -300,7 +300,8 @@ function handle_search__event_session(search_str: string) {
{#if event_session_id_random_li}
<!-- This is to help correct a bug(?) with Dexie and LiveQuery and Svelte -->
{#if event_session_id_random_li.length}
ID count:{event_session_id_random_li.length}
<!-- This needs to be in here so it works correctly with the liveQuery. -->
{#if $lq_kv__event_session_obj_li?.length}
@@ -314,21 +315,6 @@ function handle_search__event_session(search_str: string) {
No IDs found
{/if}
<!-- {#await $lq_kv__event_session_obj_li}
{:then result}
{#if result}
Sess li: {result.length}
{:else}
No sess
{/if}
{/await} -->
{#if $lq_kv__event_session_obj_li?.length}
Sess li: {$lq_kv__event_session_obj_li?.length}
<!-- {$lq_kv__event_session_obj_li?.map(session_obj => session_obj?.event_session_id_random)} -->
{:else}
<!-- No sess -->
x: {$lq_kv__event_session_obj_li}
{/if}
<section
class="ae_events_pres_mgmt_event md:container h-full mx-auto flex flex-col items-center space-y-2 pt-0 pb-8"