summaryrefslogtreecommitdiffstats
path: root/src/components/EmptyContent.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/EmptyContent.vue')
-rw-r--r--src/components/EmptyContent.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/EmptyContent.vue b/src/components/EmptyContent.vue
index 82e62ef0..db76d4e7 100644
--- a/src/components/EmptyContent.vue
+++ b/src/components/EmptyContent.vue
@@ -22,7 +22,10 @@
<template>
<div class="emptycontent">
- <img :src="imageUrl" class="icon-illustration" alt="">
+ <img v-if="item.image"
+ :src="imageUrl"
+ class="icon-illustration"
+ alt="">
<h2>{{ item.title }}</h2>
<p>{{ item.description }}</p>
</div>