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
|
<ds-text
|
||||||
size="small"
|
size="small"
|
||||||
color="soft">
|
color="soft">
|
||||||
{{ post.createdAt | date }}
|
{{ post.createdAt | dateTime }}
|
||||||
</ds-text>
|
</ds-text>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -46,6 +46,7 @@ export default {
|
|||||||
id
|
id
|
||||||
title
|
title
|
||||||
contentExcerpt
|
contentExcerpt
|
||||||
|
createdAt
|
||||||
slug
|
slug
|
||||||
image
|
image
|
||||||
author {
|
author {
|
||||||
|
|||||||
@ -137,6 +137,7 @@ export default {
|
|||||||
comments(orderBy: _id_desc) {
|
comments(orderBy: _id_desc) {
|
||||||
id
|
id
|
||||||
contentExcerpt
|
contentExcerpt
|
||||||
|
createdAt
|
||||||
deleted
|
deleted
|
||||||
author {
|
author {
|
||||||
User {
|
User {
|
||||||
@ -168,7 +169,8 @@ export default {
|
|||||||
return {
|
return {
|
||||||
slug: this.$route.params.slug
|
slug: this.$route.params.slug
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
fetchPolicy: 'cache-and-network'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -286,7 +286,8 @@ export default {
|
|||||||
...fetchMoreResult.User[0].contributions
|
...fetchMoreResult.User[0].contributions
|
||||||
]
|
]
|
||||||
return output
|
return output
|
||||||
}
|
},
|
||||||
|
fetchPolicy: 'cache-and-network'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -299,7 +300,8 @@ export default {
|
|||||||
first: this.pageSize,
|
first: this.pageSize,
|
||||||
offset: 0
|
offset: 0
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
fetchPolicy: 'cache-and-network'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user