fix(journals): remove duplicate Journal_obj_id_edit modal and fix bind:show

- [journal_id]/+page.svelte was rendering a second Journal_obj_id_edit
  alongside the one already in ae_comp__journal_obj_id_view.svelte,
  causing the modal to open twice simultaneously.
- ae_comp__journal_obj_id_view: changed show={} to bind:show={} so that
  closing the modal properly writes back to journals_sess, preventing the
  store from fighting the close and re-opening it.
This commit is contained in:
Scott Idem
2026-03-13 16:25:00 -04:00
parent 61c020b0b2
commit 50bfe2f64b
2 changed files with 1 additions and 8 deletions

View File

@@ -270,7 +270,7 @@
<Journal_obj_id_edit
{log_lvl}
{lq__journal_obj}
show={$journals_sess.show__modal_edit__journal_obj}
bind:show={$journals_sess.show__modal_edit__journal_obj}
on_new_entry={handle_new_entry}
{on_show_export}
{on_show_import}