Making the Launcher reload when link clicked to go there.
This commit is contained in:
@@ -158,7 +158,7 @@ console.log(`BROWSER Events - [event_id] launcher +layout.svelte start`);
|
|||||||
Loading location list... a
|
Loading location list... a
|
||||||
{:then event_location_obj_li} -->
|
{:then event_location_obj_li} -->
|
||||||
<!-- {#if $lq__event_obj && $lq__event_location_obj_li && $lq__event_session_obj_li && event_location_obj_li && event_location_obj_li.length > 0} -->
|
<!-- {#if $lq__event_obj && $lq__event_location_obj_li && $lq__event_session_obj_li && event_location_obj_li && event_location_obj_li.length > 0} -->
|
||||||
{#if $lq__event_obj && $lq__event_location_obj_li}
|
<!-- {#if $lq__event_obj && $lq__event_location_obj_li} -->
|
||||||
<Event_launcher_menu
|
<Event_launcher_menu
|
||||||
bind:data_url={data.url}
|
bind:data_url={data.url}
|
||||||
|
|
||||||
@@ -173,12 +173,12 @@ console.log(`BROWSER Events - [event_id] launcher +layout.svelte start`);
|
|||||||
lq__event_session_obj_li={lq__event_session_obj_li}
|
lq__event_session_obj_li={lq__event_session_obj_li}
|
||||||
>
|
>
|
||||||
</Event_launcher_menu>
|
</Event_launcher_menu>
|
||||||
{:else}
|
<!-- {:else}
|
||||||
<div class="flex flex-row items-center justify-center">
|
<div class="flex flex-row items-center justify-center">
|
||||||
<span class="fas fa-spinner fa-spin mx-1"></span>
|
<span class="fas fa-spinner fa-spin mx-1"></span>
|
||||||
<span>Loading location list...</span>
|
<span>Loading location list...</span>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if} -->
|
||||||
<!-- {/await} -->
|
<!-- {/await} -->
|
||||||
<!-- Root: slct Location ID: {$events_slct.event_location_id ?? '-- not set --'} -->
|
<!-- Root: slct Location ID: {$events_slct.event_location_id ?? '-- not set --'} -->
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -2,5 +2,3 @@
|
|||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
A location is required
|
|
||||||
@@ -324,7 +324,9 @@ $: if ($lq__event_session_obj) {
|
|||||||
|
|
||||||
{#if $ae_loc.manager_access || $ae_loc.administrator_access && $events_loc.pres_mgmt.show__launcher_link}
|
{#if $ae_loc.manager_access || $ae_loc.administrator_access && $events_loc.pres_mgmt.show__launcher_link}
|
||||||
<a
|
<a
|
||||||
href="/events_pres_mgmt/launcher/{$lq__event_session_obj?.event_id_random}"
|
data-sveltekit-preload-data="false"
|
||||||
|
data-sveltekit-reload="true"
|
||||||
|
href="/events/{$lq__event_session_obj?.event_id_random}/launcher/{$lq__event_session_obj?.event_location_id_random}"
|
||||||
class="text-blue-500 hover:text-blue-800 hover:underline"
|
class="text-blue-500 hover:text-blue-800 hover:underline"
|
||||||
title="Launcher: {$lq__event_session_obj?.event_location_name} {$lq__event_session_obj?.event_location_id_random}"
|
title="Launcher: {$lq__event_session_obj?.event_location_name} {$lq__event_session_obj?.event_location_id_random}"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user