Saving these files that should be pretty good.

This commit is contained in:
Scott Idem
2026-01-08 18:56:44 -05:00
parent ca73a5376a
commit 4fa59c3c0f
2 changed files with 135 additions and 75 deletions

View File

@@ -19,20 +19,26 @@
interface Props {
entry: ae_JournalEntry;
journal: ae_Journal;
journals_li?: ae_Journal[];
tmp_entry_obj: any; // Bindable
has_changed: boolean;
onSave: () => void;
onDecrypt: () => void;
onDecryptHistory: () => void;
onChangeJournal: () => void;
log_lvl?: number;
}
let {
entry,
journal,
journals_li = [],
tmp_entry_obj = $bindable(),
has_changed,
onSave,
onDecrypt,
onDecryptHistory,
onChangeJournal,
log_lvl = 0
}: Props = $props();
@@ -209,8 +215,11 @@ p-2 md:p-3 rounded-lg shadow-md
<JournalEntry_SettingsMenu
{entry}
{journal}
{journals_li}
bind:tmp_entry_obj={tmp_entry_obj}
{onSave}
{onDecryptHistory}
{onChangeJournal}
{log_lvl}
/>
</div>