fix comment page uri
This commit is contained in:
parent
a1fa535123
commit
0d25794b87
2 changed files with 3 additions and 2 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue