Display post.createdAt along with Notification

This commit is contained in:
Robert Schäfer 2019-04-17 01:18:53 +02:00
parent f5afdf2435
commit e595135e9d
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
<ds-space margin-bottom="x-small">
<hc-user
:user="post.author"
:date-time="post.createdAt"
:trunc="35"
/>
</ds-space>

View File

@ -54,7 +54,7 @@ const NOTIFICATIONS = gql(`{
notifications(read: false, orderBy: createdAt_desc) {
id read createdAt
post {
title contentExcerpt slug
id createdAt disabled deleted title contentExcerpt slug
author { id slug name disabled deleted }
}
}