Saving these files that should be pretty good.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user