Enhance: Journal config options and UI result messaging
- Added Query Limit configuration for Journals and Entries in modal settings. - Refactored +page.svelte to delegate empty-state handling to the entry list component. - Improved "no results" messaging in ae_comp__journal_entry_obj_li.svelte.
This commit is contained in:
@@ -385,13 +385,15 @@
|
||||
onShowImport={() => show_import_modal = true}
|
||||
/>
|
||||
|
||||
{#if $lq__journal_entry_obj_li && $lq__journal_entry_obj_li?.length}
|
||||
<Journal_entry_obj_li {lq__journal_obj} {lq__journal_entry_obj_li} />
|
||||
|
||||
<!-- {#if $lq__journal_entry_obj_li && $lq__journal_entry_obj_li?.length}
|
||||
<Journal_entry_obj_li {lq__journal_obj} {lq__journal_entry_obj_li} />
|
||||
{:else}
|
||||
<section class="main_content grow px-1 md:px-2 pb-28 flex flex-col gap-1 items-center">
|
||||
<p>No Journal Entry available to show. Please check the query filters or create a new Entry.</p>
|
||||
</section>
|
||||
{/if}
|
||||
{/if} -->
|
||||
|
||||
<!-- </section> -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user