Merge branch 'fix-create-post-notifications' into create-a-component-chat-scaffholding

This commit is contained in:
Ulf Gebhardt 2023-07-07 07:28:45 +02:00
commit 6c6b5ec937
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,7 @@ export default {
return {
notifications: unionBy(
[newNotification],
previousResult.notifications,
previousResult?.notifications,
(notification) => notification.id,
).sort((a, b) => new Date(b.updatedAt) - new Date(a.updatedAt)),
}

View File

@ -39,6 +39,7 @@ export default () => {
deleted
postType
author {
id
name
}
categories {