Work on the Launcher and how a "group" presenter is shown.

This commit is contained in:
Scott Idem
2024-09-26 18:37:09 -04:00
parent 0f40629bfe
commit 5311e4704f
3 changed files with 215 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ import { events_func } from '$lib/ae_events_functions';
// export let slct_event_presentation_id: string;
// export let slct_event_presenter_id: string;
export let lq__event_presenter_obj: any;
export let lq__event_presenter_obj: any; // This is not actually the LiveQuery object. This was pulled from the list of presenters for a presentation. With Svelte 5 this should not matter.
let ae_promises: key_val = {
get_li__event_file: null,
@@ -32,8 +32,15 @@ let lq__event_file_obj_li = liveQuery(
<strong>
<span class="fas fa-user"></span>
{#if lq__event_presenter_obj?.full_name }{lq__event_presenter_obj?.full_name}{:else }{lq__event_presenter_obj?.given_name}{/if }
{#if lq__event_presenter_obj?.given_name && lq__event_presenter_obj?.given_name != 'Group' }
<span class="fas fa-user"></span>
{lq__event_presenter_obj?.full_name}
{:else if lq__event_presenter_obj?.given_name == 'Group'}
<span class="fas fa-users"></span>
{lq__event_presenter_obj?.affiliations}
{:else}
--not set--
{/if }
</strong>
{#if !lq__event_presenter_obj?.file_count}