diff --git a/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit_v2.svelte b/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit_v2.svelte index a5ab0aba..efafa42e 100644 --- a/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit_v2.svelte +++ b/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit_v2.svelte @@ -76,6 +76,15 @@ // Trusted+ users see no lock UI; new meetings start unlocked. let contact_1_locked = $state(!!$idaa_slct.event_id && !$ae_loc.trusted_access); + // Auto-expand Contact 2 if the meeting already has data in that slot, + // so existing contact info is never silently hidden on load. + let show_contact_2 = $state( + !!( + $idaa_slct.event_obj?.contact_li_json?.[1]?.full_name || + $idaa_slct.event_obj?.contact_li_json?.[1]?.email + ) + ); + if ($idaa_slct.event_id) { $slct_trigger = 'load__event_obj'; disable_submit_btn = false; @@ -701,6 +710,24 @@ Copy and paste link: ${ {/await} + + {#if $idaa_slct.event_id} +
+ +
+ {/if} +
-

- Contact 2 (Optional) -

+ -
- - -
+ {#if show_contact_2} +
+ + +
-
- - - -
+
+ + + +
+ {:else} + + + + + + + {/if}