changing field names
This commit is contained in:
@@ -52,7 +52,7 @@ onMounted(() => {
|
|||||||
<p>By: {{ post.author.username }}</p>
|
<p>By: {{ post.author.username }}</p>
|
||||||
<div>{{ post.content }}</div>
|
<div>{{ post.content }}</div>
|
||||||
<small
|
<small
|
||||||
>Created at: {{ new Date(post.CreatedAt).toLocaleString() }}</small
|
>Created at: {{ new Date(post.createdAt).toLocaleString() }}</small
|
||||||
>
|
>
|
||||||
<button v-if="!leftCap" @click="prevPost">Prev</button>
|
<button v-if="!leftCap" @click="prevPost">Prev</button>
|
||||||
<button v-if="!rightCap" @click="nextPost">Next</button>
|
<button v-if="!rightCap" @click="nextPost">Next</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user