Empty relations

This commit is contained in:
Grzegorz Leoniec 2019-01-18 15:17:58 +01:00
parent c7ffcc44c6
commit 011871405c
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -43,12 +43,11 @@
<hc-post-card :post="relatedPost" />
</ds-flex-item>
</ds-flex>
<ds-space
v-else
style="text-align: center; padding-top: 2em; opacity: .6;"
>
No related Posts
</ds-space>
<hc-empty
margin="large"
icon="file"
message="No related Posts"
/>
</ds-section>
<ds-space margin-bottom="large" />
</ds-card>
@ -57,6 +56,7 @@
<script>
import gql from 'graphql-tag'
import HcPostCard from '~/components/PostCard.vue'
import HcEmpty from '~/components/Empty.vue'
export default {
transition: {
@ -64,7 +64,8 @@ export default {
mode: 'out-in'
},
components: {
HcPostCard
HcPostCard,
HcEmpty
},
computed: {
post() {