Bug fix for exhibit_id missing. Why?

This commit is contained in:
Scott Idem
2024-03-15 18:46:34 -04:00
parent 7d86a9b40f
commit 9b02b2f86c
2 changed files with 30 additions and 24 deletions

View File

@@ -627,9 +627,9 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
<strong>{$event_exhibit_obj?.code ?? ''}</strong>
</h2>
<h3 class="h4">
{#if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
{#if $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id] && $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
<span class="fas fa-check text-green-500"></span>
{$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
{$events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
<button
type="button"
class="btn btn-sm variant-soft-warning"
@@ -647,7 +647,7 @@ export let get_event_exhibit_tracking_export = async function get_event_exhibit_
</h3>
</div>
{#if $events_loc?.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
{#if $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id] && $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}
<p>
You are logged in using the shared exhibit staff passcode and are using the license key for {$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id].key}. Any leads you collect will be associated with this license key (email address).
</p>