Bug fix when creating new Entry

This commit is contained in:
Scott Idem
2025-05-06 20:10:10 -04:00
parent de740e1e37
commit 5bfb3892e6

View File

@@ -248,7 +248,7 @@ async function handle_update_journal() {
console.log('New journal entry created:', results);
$journals_slct.journal_entry_id = results?.journal_entry_id_random;
// $journals_loc.entry.edit = true;
$journals_loc.entry.edit_kv[$journals_slct.journal_entry_id] = true;
$journals_loc.entry.edit_kv[$journals_slct.journal_entry_id] = 'current';
// alert(`Journal entry created successfully! ${$journals_slct.journal_entry_id}`);
}).catch((error) => {
console.error('Error updating journal entry:', error);