The notifications to Post Commenters should be working now.
This commit is contained in:
@@ -70,6 +70,17 @@ let lq__post_comment_obj_li = $derived(liveQuery(async () => {
|
||||
.sortBy('updated_on');
|
||||
// .sortBy('title');
|
||||
|
||||
if ($idaa_slct.post_comment_obj_li && JSON.stringify($idaa_slct.post_comment_obj_li) !== JSON.stringify(results)) {
|
||||
$idaa_slct.post_comment_obj_li = [...results];
|
||||
if (log_lvl) {
|
||||
console.log(`$idaa_slct.post_comment_obj_li = `, $idaa_slct.post_comment_obj_li);
|
||||
}
|
||||
} else {
|
||||
if (log_lvl) {
|
||||
console.log(`Post comment object list has not changed for post_id: ${$idaa_slct.post_id}`);
|
||||
}
|
||||
}
|
||||
|
||||
return results;
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user