Skip to content
Snippets Groups Projects
Commit 3f2ffcea authored by syuilo's avatar syuilo
Browse files

fix(client): Do not render img tag when icon url not provided

parent b07d037c
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
<mk-loading v-if="fetching"/>
<transition-group tag="div" name="chart" class="instances" v-else>
<div v-for="(instance, i) in instances" :key="instance.id" class="instance">
<img :src="instance.iconUrl" alt=""/>
<img v-if="instance.iconUrl" :src="instance.iconUrl" alt=""/>
<div class="body">
<a class="a" :href="'https://' + instance.host" target="_blank" :title="instance.host">{{ instance.host }}</a>
<p>{{ instance.softwareName || '?' }} {{ instance.softwareVersion }}</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment