diff --git a/public/site/plugins/comments/src/BaseComment.php b/public/site/plugins/comments/src/BaseComment.php index 9b2f976..b59317f 100644 --- a/public/site/plugins/comments/src/BaseComment.php +++ b/public/site/plugins/comments/src/BaseComment.php @@ -27,8 +27,8 @@ class BaseComment { $type = $data['type'] ?? 'comment'; $this->page = [ - 'uri' => (string) $page->uri(), - 'title' => (string) $page->title(), + 'uri' => (string) $page->parent()->uri(), + 'title' => (string) $page->parent()->title(), ]; $this->file = [ 'uuid' => (string) $file->uuid(), diff --git a/src/views/Notifications.vue b/src/views/Notifications.vue index 3fbbca8..ee03ddc 100644 --- a/src/views/Notifications.vue +++ b/src/views/Notifications.vue @@ -139,6 +139,7 @@ const sortedNotifications = computed(() => { const allNotifications = [ ...Object.values(notifications.value.comments || {}), ...Object.values(notifications.value.content || {}), + ...Object.values(notifications.value.meetings || {}), ]; const sortedNotifications = allNotifications.sort((a, b) => {