Saving the new documentation for Svelte and Dexie made by Gemini. Saving changes made by Gemini to fix various things.
This commit is contained in:
@@ -380,16 +380,9 @@ $effect(() => {
|
||||
<button
|
||||
type="button"
|
||||
onclick={() => {
|
||||
// if ($journals_sess.show__modal_append__journal_entry_id) {
|
||||
// // $journals_sess.show__modal_append__journal_entry_id = null;
|
||||
// $journals_sess.show__modal_append__journal_entry_id = journals_journal_entry_obj?.id;
|
||||
// tmp_entry_obj = journals_journal_entry_obj;
|
||||
// } else {
|
||||
// $journals_sess.show__modal_append__journal_entry_id = journals_journal_entry_obj?.id;
|
||||
// tmp_entry_obj = journals_journal_entry_obj;
|
||||
// }
|
||||
$journals_sess.show__modal_append__journal_entry_id = journals_journal_entry_obj?.id;
|
||||
tmp_entry_obj = journals_journal_entry_obj;
|
||||
// Create a deep copy of the object for editing to prevent direct mutation of the liveQuery result.
|
||||
tmp_entry_obj = JSON.parse(JSON.stringify(journals_journal_entry_obj));
|
||||
}}
|
||||
class="btn btn-icon btn-sm preset-tonal-surface border border-surface-500 hover:preset-filled-secondary-500 transition"
|
||||
title="{$lq__journal_obj?.cfg_json?.entry_add_text == 'append' ? 'Append to Journal Entry' : 'Prepend to Journal Entry'}"
|
||||
|
||||
Reference in New Issue
Block a user