Delete will now retry and no longer needs Axios. Code clean up. Bug fix when deleting a Journal Entry.
This commit is contained in:
@@ -1110,9 +1110,9 @@ function handle_cut_string(old_string: string) {
|
||||
console.error('Error deleting journal entry:', error);
|
||||
alert('Failed to delete journal entry.');
|
||||
}).finally(() => {
|
||||
$journals_slct.journal_id = null;
|
||||
$journals_slct.journal_obj = null;
|
||||
goto(`/journals/${$lq__journal_entry_obj?.journal_id}`);
|
||||
goto(`/journals/${$journals_slct.journal_id}`);
|
||||
// $journals_slct.journal_id = null;
|
||||
// $journals_slct.journal_obj = null;
|
||||
});
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user