Handle empty or missing icon

This commit is contained in:
Bubka
2020-01-08 17:03:41 +01:00
parent 8ed572bb24
commit 0e79209b6d
4 changed files with 23 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<template>
<div>
<figure class="image is-64x64" style="display: inline-block">
<figure class="image is-64x64" style="display: inline-block" v-if="icon">
<img :src="icon">
</figure>
<p class="is-size-4 has-text-grey-light">{{ service }}</p>