From 63a1ea85555f0a1d15a4d5cd6b97e66e02e58ec2 Mon Sep 17 00:00:00 2001 From: "Alisa | Side.one" Date: Tue, 6 Jun 2023 20:02:21 +0800 Subject: [PATCH] feat: consensus no data --- src/modules/[chain]/consensus/index.vue | 34 ++++++++++++++++++------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/src/modules/[chain]/consensus/index.vue b/src/modules/[chain]/consensus/index.vue index 37805c30..f25611f8 100644 --- a/src/modules/[chain]/consensus/index.vue +++ b/src/modules/[chain]/consensus/index.vue @@ -100,7 +100,7 @@ async function fetchPosition() { positions.value = data.result.round_state.validators.validators; } catch (error) { httpstatus.value = error?.status || 500; - httpStatusText.value = error?.message||'Error'; + httpStatusText.value = error?.message || 'Error'; } } @@ -237,7 +237,10 @@ async function update() { -
+

Updated at {{ newTime || '' }} @@ -266,13 +269,26 @@ async function update() {

-
- Proposer - Signed - Proposer - Not Signed - Signed - Not Signed + +
+
+ + Proposer Signed +
+
+ + Proposer Not Signed +
+ +
+ + Signed +
+ +
+ + Not Signed +