From 18b44a3aebc56d32060e1d879a8f096eafbf262f Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 25 Jan 2020 18:54:05 +0100 Subject: Add image to PostLink --- components/Posts/PostList/PurePostList.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'components/Posts/PostList/PurePostList.vue') diff --git a/components/Posts/PostList/PurePostList.vue b/components/Posts/PostList/PurePostList.vue index ace069f..c87b9dc 100644 --- a/components/Posts/PostList/PurePostList.vue +++ b/components/Posts/PostList/PurePostList.vue @@ -12,6 +12,7 @@ :route="post.route" :title="post.title" :description="post.description" + :image="post.image" /> @@ -27,14 +28,14 @@ export default { props: { posts: { type: Array, - required: true + required: true, }, loading: { type: Boolean, required: false, - default: () => false - } - } + default: () => false, + }, + }, } -- cgit 1.4.1