mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge branch 'fix-create-post-notifications' into create-a-component-chat-scaffholding
This commit is contained in:
commit
6c6b5ec937
@ -149,7 +149,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
notifications: unionBy(
|
notifications: unionBy(
|
||||||
[newNotification],
|
[newNotification],
|
||||||
previousResult.notifications,
|
previousResult?.notifications,
|
||||||
(notification) => notification.id,
|
(notification) => notification.id,
|
||||||
).sort((a, b) => new Date(b.updatedAt) - new Date(a.updatedAt)),
|
).sort((a, b) => new Date(b.updatedAt) - new Date(a.updatedAt)),
|
||||||
}
|
}
|
||||||
|
|||||||
@ -39,6 +39,7 @@ export default () => {
|
|||||||
deleted
|
deleted
|
||||||
postType
|
postType
|
||||||
author {
|
author {
|
||||||
|
id
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
categories {
|
categories {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user