chore(client): Show ? when softwareName is unknown

This commit is contained in:
syuilo 2020-07-25 21:01:14 +09:00
parent 58211fc6a7
commit e5863c2867

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>