mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
show create dates where possible
This commit is contained in:
parent
a26937d093
commit
1af35ea4cf
@ -28,7 +28,7 @@
|
||||
<ds-text
|
||||
size="small"
|
||||
color="soft">
|
||||
{{ post.createdAt | date }}
|
||||
{{ post.createdAt | dateTime }}
|
||||
</ds-text>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
@ -46,6 +46,7 @@ export default {
|
||||
id
|
||||
title
|
||||
contentExcerpt
|
||||
createdAt
|
||||
slug
|
||||
image
|
||||
author {
|
||||
|
||||
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user