File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
components/modules/validator Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -169,15 +169,15 @@ const validatorStatus = computed(() => {
169169 }
170170
171171 if (! props .validator .jailed ) {
172- if (uptime .value ? .slice (- 1 )[0 ].signed ) {
173- res .name = " Active"
174- res .color = " var(--validator-active)"
175- res .description = " This validator is in the active set and can|propose or sign blocks and receive rewards" .split (" |" )
176- } else {
177- res .name = " Inactive"
178- res .color = " var(--validator-inactive)"
179- res .description = " This validator is not in the active set and cannot|propose or sign blocks and earn rewards" .split (" |" )
180- }
172+ // if (uptime.value?.slice(-1)[0].signed) {
173+ // res.name = "Active"
174+ // res.color = "var(--validator-active)"
175+ // res.description = "This validator is in the active set and can|propose or sign blocks and receive rewards".split("|")
176+ // } else {
177+ // res.name = "Inactive"
178+ // res.color = "var(--validator-inactive)"
179+ // res.description = "This validator is not in the active set and cannot|propose or sign blocks and earn rewards".split("|")
180+ // }
181181 } else {
182182 res .name = " Jailed"
183183 res .color = " var(--validator-jailed)"
@@ -296,7 +296,7 @@ const handleDelegate = () => {
296296 < Text v- if = " validator.moniker" size= " 13" weight= " 600" color= " primary" > {{ validator .moniker }} < / Text >
297297 < Text v- else size= " 13" weight= " 600" color= " primary" > Validator< / Text >
298298
299- < Tooltip position= " start" textAlign= " left" delay= " 200" >
299+ < Tooltip v - if = " validatorStatus.name " position= " start" textAlign= " left" delay= " 200" >
300300 < Text size= " 13" weight= " 600" : style= " { color: validatorStatus.color }" > {{ validatorStatus .name }} < / Text >
301301
302302 < template #content>
You can’t perform that action at this time.
0 commit comments