More general code clean up. More removing of the _random bits.

This commit is contained in:
Scott Idem
2026-02-11 13:00:42 -05:00
parent 87d74e5b4b
commit 3ca041383f
9 changed files with 15 additions and 641 deletions

View File

@@ -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.');