{$i18n.t('Notes')} • {$WEBUI_NAME}
{#if loaded} { deleteNoteHandler(selectedNote.id); showDeleteConfirm = false; }} >
{$i18n.t('This will delete')} {selectedNote.title}.
{$i18n.t('Notes')}
{total}
{#if query}
{/if}
{ if (e.deltaY !== 0) { e.preventDefault(); e.currentTarget.scrollLeft += e.deltaY; } }} >
{ if (value) { localStorage.noteViewOption = value; } else { delete localStorage.noteViewOption; } }} /> {#if [null, 'shared'].includes(viewOption)} {/if}
{ if (displayOption) { localStorage.noteDisplayOption = displayOption; } else { delete localStorage.noteDisplayOption; } }} />
{#if (items ?? []).length > 0} {@const notes = groupNotes(items)}
{#each Object.keys(notes) as timeRange, idx}
{$i18n.t(timeRange)}
{#if displayOption === null} {:else if displayOption === 'grid'} {/if} {/each} {#if !allItemsLoaded} { if (!itemsLoading) { loadMoreItems(); } }} >
{$i18n.t('Loading...')}
{/if}
{:else}
{$i18n.t('No Notes')}
{$i18n.t('Create your first note by clicking on the plus button below.')}
{/if}
{:else}
{/if}