Making things work smoothly

This commit is contained in:
Scott Idem
2024-03-28 17:34:19 -04:00
parent 86972f5a02
commit 9851c69c30
9 changed files with 257 additions and 26 deletions

View File

@@ -530,8 +530,16 @@ function send_init_confirm_email({to_email}) {
bind:group={$events_loc.leads.tab[$events_slct.exhibit_id]}
name="tab_manage"
value={'manage'}
disabled={!$ae_loc.administrator_access || !$events_slct.exhibit_obj && (!$events_loc?.leads.auth_exhibit_kv || !$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id])}
regionTab={!$events_slct.exhibit_obj || !$events_loc?.leads.auth_exhibit_kv || !$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id] ? 'text-slate-400' : ''}
disabled={
!($ae_loc.administrator_access && $events_slct.exhibit_obj)
&&
!($events_loc?.leads.auth_exhibit_kv && $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id])
}
regionTab={
!($ae_loc.administrator_access && $events_slct.exhibit_obj)
&&
!($events_loc?.leads.auth_exhibit_kv && $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id]) ? 'text-slate-400' : ''
}
title="Manage the exhibit settings, licenses, and other."
>
<svelte:fragment slot="lead">