fix vue listing without an image

This commit is contained in:
Jarek Jakubowski
2019-02-12 16:50:56 +01:00
parent 204027cd82
commit aa880abeff

View File

@@ -21,7 +21,7 @@
>
<!-- column thumbnail -->
<div
v-if="size === 'normal'"
v-if="size === 'normal' && record.extras.image !== null"
class="listing__row--item is-thumbnail"
:style="`background-image: url(${record.extras.image.path})`"
></div>