Working on getting Recovery Meeting edit to show correctly when navigating from list of meetings.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user