style(journals): apply expanded 80-width formatting and snake_case
- Batch formatted all Journals module files using Prettier with printWidth: 80. - Refactored preventDefault to prevent_default across all Svelte components. - Standardized line breaks for imports and long attribute lists for better readability. - Ensured consistent snake_case naming for internal identifiers.
This commit is contained in:
@@ -14,7 +14,9 @@ export async function load({ fetch, parent }) {
|
||||
let ae_acct = parent_data[account_id];
|
||||
|
||||
if (!ae_acct) {
|
||||
console.warn(`ae Journals +page.ts: Account ${account_id} not found in parent data. Initializing ghost acct.`);
|
||||
console.warn(
|
||||
`ae Journals +page.ts: Account ${account_id} not found in parent data. Initializing ghost acct.`
|
||||
);
|
||||
ae_acct = {
|
||||
api: parent_data.ae_api || {},
|
||||
loc: {},
|
||||
@@ -30,7 +32,7 @@ export async function load({ fetch, parent }) {
|
||||
const person_id = ae_acct.loc.person_id;
|
||||
|
||||
// OPTIMIZATION: Fire the journal list load in the background.
|
||||
// Components using LiveQuery (db_journals) will display cached data
|
||||
// Components using LiveQuery (db_journals) will display cached data
|
||||
// instantly while this refresh runs.
|
||||
journals_func.load_ae_obj_li__journal({
|
||||
api_cfg: ae_acct.api,
|
||||
|
||||
Reference in New Issue
Block a user