Work in progress of moving the session list out to a separate component.
This commit is contained in:
@@ -13,8 +13,9 @@ import { ae_util } from '$lib/ae_utils';
|
||||
import { api } from '$lib/api';
|
||||
import Element_ae_crud from '$lib/element_ae_crud.svelte';
|
||||
import Element_data_store from '$lib/element_data_store.svelte';
|
||||
import Comp_event_presenter_obj_li from '../../ae_comp__event_presenter_obj_li.svelte';
|
||||
import Element_manage_event_file_li from '$lib/element_manage_event_file_li.svelte';
|
||||
// import Comp_event_presenter_obj_li from '../../ae_comp__event_presenter_obj_li.svelte';
|
||||
import Comp_event_session_obj_li from './ae_comp__event_session_obj_li.svelte';
|
||||
// import Element_manage_event_file_li from '$lib/element_manage_event_file_li.svelte';
|
||||
|
||||
import { liveQuery } from "dexie";
|
||||
import { core_func } from '$lib/ae_core_functions';
|
||||
@@ -527,7 +528,15 @@ async function handle_search__event_session(
|
||||
{/if}
|
||||
{/await}
|
||||
|
||||
{#if $events_slct.event_session_obj_li?.length == event_session_id_random_li?.length && event_session_id_random_li.length == $lq_kv__event_session_obj_li?.length}
|
||||
{#if $events_slct.event_session_obj_li?.length == event_session_id_random_li?.length}
|
||||
<Comp_event_session_obj_li
|
||||
link_to_type={'event'}
|
||||
link_to_id={$events_slct.event_id}
|
||||
event_session_id_random_li={event_session_id_random_li}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
{#if 1==3 && $events_slct.event_session_obj_li?.length == event_session_id_random_li?.length && event_session_id_random_li.length == $lq_kv__event_session_obj_li?.length}
|
||||
<!-- {#if $events_slct?.event_session_obj_li && $events_slct.event_session_obj_li.length > 0} -->
|
||||
<section class="ae_h_scrollfix py-2 space-y-2">
|
||||
<h2 class="h3">
|
||||
@@ -579,7 +588,7 @@ async function handle_search__event_session(
|
||||
{/if}
|
||||
</a>
|
||||
|
||||
{#if $ae_loc.administrator_access}
|
||||
<!-- {#if $ae_loc.administrator_access}
|
||||
<Comp_event_presenter_obj_li
|
||||
link_to_type={'event_session'}
|
||||
link_to_id={session_obj.event_session_id_random}
|
||||
@@ -598,7 +607,7 @@ async function handle_search__event_session(
|
||||
container_class_li={''}
|
||||
display_mode={'minimal'}
|
||||
/>
|
||||
{/if}
|
||||
{/if} -->
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user