More general code clean up. More removing of the _random bits.
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
api_cfg: $ae_api,
|
||||
account_id: $slct.account_id,
|
||||
data_kv: {
|
||||
person_id_random: $ae_loc.person_id,
|
||||
person_id: $ae_loc.person_id,
|
||||
name,
|
||||
type_code: type,
|
||||
cfg_json: {
|
||||
@@ -77,9 +77,9 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
if (results?.journal_id_random) {
|
||||
if (results?.journal_id) {
|
||||
$journals_sess.show__modal_new__journal_obj = false;
|
||||
goto(`/journals/${results.journal_id_random}`);
|
||||
goto(`/journals/${results.journal_id}`);
|
||||
}
|
||||
} catch (error) {
|
||||
alert('Failed to create journal.');
|
||||
|
||||
Reference in New Issue
Block a user