mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge pull request #6505 from Ocelot-Social-Community/fix-create-post-notifications
fix(webapp): fix create post & notifications
This commit is contained in:
commit
8da1b71866
@ -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)),
|
||||
}
|
||||
|
||||
@ -39,6 +39,7 @@ export default () => {
|
||||
deleted
|
||||
postType
|
||||
author {
|
||||
id
|
||||
name
|
||||
}
|
||||
categories {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user