chore(client): Show ? when softwareName is unknown

This commit is contained in:
syuilo 2020-07-25 21:01:14 +09:00
parent 9f3fe6636b
commit ec08ce1d4e

View File

@ -8,7 +8,7 @@
<div v-for="(instance, i) in instances" :key="instance.id">
<div class="instance">
<a class="a" :href="'https://' + instance.host" target="_blank" :title="instance.host">{{ instance.host }}</a>
<p>{{ instance.softwareName }} {{ instance.softwareVersion }}</p>
<p>{{ instance.softwareName || '?' }} {{ instance.softwareVersion }}</p>
</div>
<mk-mini-chart class="chart" :src="charts[i].requests.received"/>
</div>