show create dates where possible

This commit is contained in:
Grzegorz Leoniec 2018-10-26 15:15:50 +02:00
parent a26937d093
commit 1af35ea4cf
4 changed files with 9 additions and 4 deletions

View File

@ -28,7 +28,7 @@
<ds-text
size="small"
color="soft">
{{ post.createdAt | date }}
{{ post.createdAt | dateTime }}
</ds-text>
</template>
</div>

View File

@ -46,6 +46,7 @@ export default {
id
title
contentExcerpt
createdAt
slug
image
author {

View File

@ -137,6 +137,7 @@ export default {
comments(orderBy: _id_desc) {
id
contentExcerpt
createdAt
deleted
author {
User {
@ -168,7 +169,8 @@ export default {
return {
slug: this.$route.params.slug
}
}
},
fetchPolicy: 'cache-and-network'
}
}
}

View File

@ -286,7 +286,8 @@ export default {
...fetchMoreResult.User[0].contributions
]
return output
}
},
fetchPolicy: 'cache-and-network'
})
}
},
@ -299,7 +300,8 @@ export default {
first: this.pageSize,
offset: 0
}
}
},
fetchPolicy: 'cache-and-network'
}
}
}