mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Display post.createdAt along with Notification
This commit is contained in:
parent
f5afdf2435
commit
e595135e9d
@ -4,6 +4,7 @@
|
|||||||
<ds-space margin-bottom="x-small">
|
<ds-space margin-bottom="x-small">
|
||||||
<hc-user
|
<hc-user
|
||||||
:user="post.author"
|
:user="post.author"
|
||||||
|
:date-time="post.createdAt"
|
||||||
:trunc="35"
|
:trunc="35"
|
||||||
/>
|
/>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
|
|||||||
@ -54,7 +54,7 @@ const NOTIFICATIONS = gql(`{
|
|||||||
notifications(read: false, orderBy: createdAt_desc) {
|
notifications(read: false, orderBy: createdAt_desc) {
|
||||||
id read createdAt
|
id read createdAt
|
||||||
post {
|
post {
|
||||||
title contentExcerpt slug
|
id createdAt disabled deleted title contentExcerpt slug
|
||||||
author { id slug name disabled deleted }
|
author { id slug name disabled deleted }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user