Bug fix related to saving entries with mixed changes

This commit is contained in:
Scott Idem
2025-04-01 18:42:32 -04:00
parent d393ed2c7a
commit a41ecb45a9
5 changed files with 119 additions and 24 deletions

View File

@@ -5,7 +5,12 @@ let log_lvl: number = 0;
let { data, children } = $props();
import { goto } from '$app/navigation';
import { BookHeart, Check, FilePlus, Minus, Notebook, Pencil, Plus, X } from '@lucide/svelte';
import {
BookHeart, Check,
FilePlus, Library,
Minus, Notebook, Pencil, Plus,
X
} from '@lucide/svelte';
import { liveQuery } from "dexie";
import { Modal } from 'flowbite-svelte';
@@ -121,10 +126,12 @@ async function handle_update_journal() {
hover:variant-filled-tertiary
transition
"
title="View all journals"
>
<BookHeart class="mx-1" />
<!-- <BookHeart /> -->
<Library />
<span class="hidden md:inline">
View Other Journals
All Journals
</span>
</a>
@@ -166,9 +173,12 @@ async function handle_update_journal() {
hover:variant-filled-warning
transition
"
title="Edit Journal meta and configuration (name, type, passcode, categories, etc.)"
>
<Pencil />
Edit Journal
<span class="hidden md:inline">
Edit Journal
</span>
</button>
{/if}
@@ -214,7 +224,7 @@ async function handle_update_journal() {
transition
"
>
<FilePlus class="mx-1" />
<FilePlus />
<!-- <span class="fas fa-plus m-1"></span> -->
<span class="hidden sm:inline">
New Journal Entry