More general code clean up. More removing of the _random bits.
This commit is contained in:
@@ -156,13 +156,13 @@
|
||||
log_lvl: log_lvl
|
||||
});
|
||||
|
||||
if (results?.journal_entry_id_random) {
|
||||
if (results?.journal_entry_id) {
|
||||
$journals_slct.journal_entry_id =
|
||||
results.journal_entry_id_random;
|
||||
results.journal_entry_id;
|
||||
$journals_loc.entry.edit_kv[$journals_slct.journal_entry_id] =
|
||||
'current';
|
||||
goto(
|
||||
`/journals/${$lq__journal_obj?.journal_id}/entry/${results.journal_entry_id_random}`
|
||||
`/journals/${$lq__journal_obj?.journal_id}/entry/${results.journal_entry_id}`
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user