Will come back to the LiveQuery undefined thing later...
This commit is contained in:
@@ -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}
|
ID count:{event_session_id_random_li.length}
|
||||||
<!-- This needs to be in here so it works correctly with the liveQuery. -->
|
<!-- This needs to be in here so it works correctly with the liveQuery. -->
|
||||||
{#if $lq_kv__event_session_obj_li?.length}
|
{#if $lq_kv__event_session_obj_li?.length}
|
||||||
@@ -314,21 +315,6 @@ function handle_search__event_session(search_str: string) {
|
|||||||
No IDs found
|
No IDs found
|
||||||
{/if}
|
{/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
|
<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"
|
class="ae_events_pres_mgmt_event md:container h-full mx-auto flex flex-col items-center space-y-2 pt-0 pb-8"
|
||||||
|
|||||||
Reference in New Issue
Block a user