hidden badge
This commit is contained in:
parent
1114b8e0f4
commit
db7b1a65fc
@ -162,7 +162,7 @@ function changeTab(v: string) {
|
|||||||
<td>{{ signing?.start_height }}</td>
|
<td>{{ signing?.start_height }}</td>
|
||||||
<td>{{ signing?.index_offset }}</td>
|
<td>{{ signing?.index_offset }}</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="badge badge-sm text-white" :class="Number(signing?.missed_blocks_counter) < 10?'badge-success':'badge-error'">{{ signing?.missed_blocks_counter }}</span>
|
<span v-if="signing" class="badge badge-sm text-white" :class="Number(signing?.missed_blocks_counter) < 10?'badge-success':'badge-error'">{{ signing?.missed_blocks_counter }}</span>
|
||||||
</td>
|
</td>
|
||||||
<td><span v-if="signing && signing.jailed_until.startsWith('1970')">{{ format.percent(Number(signing.index_offset)/(latest-Number(signing.start_height))) }}</span></td>
|
<td><span v-if="signing && signing.jailed_until.startsWith('1970')">{{ format.percent(Number(signing.index_offset)/(latest-Number(signing.start_height))) }}</span></td>
|
||||||
<td><span v-if="signing && !signing.jailed_until.startsWith('1970')">
|
<td><span v-if="signing && !signing.jailed_until.startsWith('1970')">
|
||||||
|
@ -155,7 +155,7 @@ function color(v: string) {
|
|||||||
<tr v-for="v in list">
|
<tr v-for="v in list">
|
||||||
<td class=" capitalize">{{ v.chainName }}</td>
|
<td class=" capitalize">{{ v.chainName }}</td>
|
||||||
<td>{{ v.v.name }}</td>
|
<td>{{ v.v.name }}</td>
|
||||||
<td><span class="badge " :class="color( v.sigingInfo?.missed_blocks_counter)">{{ v.sigingInfo?.missed_blocks_counter }}</span></td>
|
<td><span v-if="v.sigingInfo" class="badge " :class="color( v.sigingInfo?.missed_blocks_counter)">{{ v.sigingInfo?.missed_blocks_counter }}</span></td>
|
||||||
<td><span v-if="v.sigingInfo">{{ Number(v.sigingInfo.index_offset) - Number(v.sigingInfo.start_height) }}</span></td>
|
<td><span v-if="v.sigingInfo">{{ Number(v.sigingInfo.index_offset) - Number(v.sigingInfo.start_height) }}</span></td>
|
||||||
<td>
|
<td>
|
||||||
<div v-if="v.sigingInfo && !v.sigingInfo?.jailed_until.startsWith('1970')" class="text-xs flex flex-col">
|
<div v-if="v.sigingInfo && !v.sigingInfo?.jailed_until.startsWith('1970')" class="text-xs flex flex-col">
|
||||||
|
Loading…
Reference in New Issue
Block a user