Working on getting Recovery Meeting edit to show correctly when navigating from list of meetings.

This commit is contained in:
Scott Idem
2025-07-08 20:12:28 -04:00
parent 8672796bac
commit 6bdedecfd8
6 changed files with 111 additions and 50 deletions

View File

@@ -37,6 +37,9 @@ $idaa_trig.post_id = ae_acct.slct.post_id;
// Functions and Logic
let lq__post_obj = $derived(liveQuery(async () => {
if (log_lvl) {
console.log(`lq__post_obj: post_id = ${$idaa_slct?.post_id}`);
}
let results = await db_posts.post
.get($idaa_slct.post_id ?? ''); // null or undefined does not reset things like '' does

View File

@@ -36,7 +36,7 @@ export const load = (async ({ params, parent }) => { // route
message: 'IDAA BB - Post not found'
});
} else {
// ae_acct.slct.journal_obj = results;
// ae_acct.slct.post_obj = results;
}
});