about summary refs log tree commit diff
path: root/pages/kronika/index.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-05 17:34:44 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-05 17:34:44 +0100
commit29a4e2488151861c10abeb0a05622e4d06e07c60 (patch)
treec237820ce1f7588d44820f64163bc0caaa693d7f /pages/kronika/index.vue
parent6a532274bf7d69cefe9e640274f30c3fdcc17c92 (diff)
downloadpuszcza-29a4e2488151861c10abeb0a05622e4d06e07c60.tar.gz
puszcza-29a4e2488151861c10abeb0a05622e4d06e07c60.zip
Fix SSR on PostList
Diffstat (limited to 'pages/kronika/index.vue')
-rw-r--r--pages/kronika/index.vue6
1 files changed, 4 insertions, 2 deletions
diff --git a/pages/kronika/index.vue b/pages/kronika/index.vue
index 86344c3..8142a6c 100644
--- a/pages/kronika/index.vue
+++ b/pages/kronika/index.vue
@@ -1,16 +1,18 @@
 <template>
   <div style="padding-top: 20px">
     <h2>Ostatnie wpisy</h2>
-    <post-list />
+    <post-list :posts="posts" />
   </div>
 </template>
 
 <script>
 import PostList from '~/components/Posts/PostList'
+import postListParentMixin from '~/components/Posts/PostList/parentMixin'
 
 export default {
   components: {
     PostList
-  }
+  },
+  mixins: [postListParentMixin]
 }
 </script>