From 02d039ecd563e778b3d1eb975a6449b23a0bf92c Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 17 Jul 2023 11:19:12 -0400 Subject: [PATCH 1/8] fix: suspended -> revoked label. style: tags cleanup --- src/components/Admin/User/User.vue | 405 ++++++++++++++++++++++++----- 1 file changed, 334 insertions(+), 71 deletions(-) diff --git a/src/components/Admin/User/User.vue b/src/components/Admin/User/User.vue index ada51c86..abd0ba64 100644 --- a/src/components/Admin/User/User.vue +++ b/src/components/Admin/User/User.vue @@ -264,6 +264,10 @@ export default { this.eras_active = response.detail.total_eras; this.total_redmarks = response.detail.total_redmarks; this.eras_since_redmark = response.detail.eras_since_redmark; + + if (this.node_status == 'Suspended') { + this.node_status = 'Revoked'; + } } else { this.node_status = 'Offline'; this.validator_fee = 0; @@ -433,10 +437,16 @@ export default {