Code clean up. Journal IDB save has been updated to properly await.

This commit is contained in:
Scott Idem
2025-05-09 13:44:19 -04:00
parent 8c81f6f65e
commit 8f1f7bfa7e
5 changed files with 87 additions and 68 deletions

View File

@@ -101,25 +101,13 @@ let lq__journal_entry_obj = $derived(liveQuery(async () => {
"
>
<!-- <h1>Journals {$lq__journal_entry_obj?.name} - {$lq__journal_entry_obj_li?.length}</h1> -->
<!-- <a href="/journals/{$lq__journal_entry_obj?.journal_id}" class="novi_btn btn btn-secondary btn-sm
variant-ghost-tertiary
hover:variant-filled-tertiary
transition
">
<span class="fas fa-arrow-left m-1"></span>
Back to Journal Entries
</a> -->
{#if $lq__journal_entry_obj}
<!-- {#if $lq__journal_entry_obj} -->
<Journal_entry_view
lq__journal_obj={lq__journal_obj}
lq__journal_obj_li={lq__journal_obj_li}
lq__journal_entry_obj={lq__journal_entry_obj}
/>
{/if}
<!-- {/if} -->
</section>