From fb028faeb1ca1e0e9c4499ec8af8c902df604d86 Mon Sep 17 00:00:00 2001 From: Salman Wahib Date: Tue, 16 May 2023 09:48:41 +0000 Subject: [PATCH 1/2] update: add routerlink to transaction Signed-off-by: Salman Wahib --- src/modules/[chain]/account/[address].vue | 4 +++- src/modules/[chain]/block/index.vue | 8 ++++++-- src/modules/[chain]/staking/[validator].vue | 4 +++- src/modules/[chain]/tx/[hash].vue | 6 +++--- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/modules/[chain]/account/[address].vue b/src/modules/[chain]/account/[address].vue index 63f5ff34..c87e94a4 100644 --- a/src/modules/[chain]/account/[address].vue +++ b/src/modules/[chain]/account/[address].vue @@ -458,8 +458,10 @@ loadAccount(props.address); v.height }} - + + {{ v.txhash }} +
diff --git a/src/modules/[chain]/block/index.vue b/src/modules/[chain]/block/index.vue index e916d2e5..9a0fe409 100644 --- a/src/modules/[chain]/block/index.vue +++ b/src/modules/[chain]/block/index.vue @@ -71,8 +71,12 @@ const format = useFormatter(); - {{ item.height }} - + + {{ item.height }} + {{ item.hash }} diff --git a/src/modules/[chain]/staking/[validator].vue b/src/modules/[chain]/staking/[validator].vue index c0fe3110..a0fc40e1 100644 --- a/src/modules/[chain]/staking/[validator].vue +++ b/src/modules/[chain]/staking/[validator].vue @@ -397,8 +397,10 @@ onMounted(() => { item.height }} - + + {{ item.txhash }} +
diff --git a/src/modules/[chain]/tx/[hash].vue b/src/modules/[chain]/tx/[hash].vue index 85465c94..0556e609 100644 --- a/src/modules/[chain]/tx/[hash].vue +++ b/src/modules/[chain]/tx/[hash].vue @@ -39,7 +39,7 @@ const messages = computed(() => { Height - + {{ tx.tx_response.height }} { tx.tx_response.code === 0 ? 'success' : 'error' }`" > - + > {{ tx.tx_response.code === 0 ? 'Success' : 'Failded' }}
From 8cfad1708066e299dad88ca21415a97176412e58 Mon Sep 17 00:00:00 2001 From: Salman Wahib Date: Tue, 16 May 2023 23:25:52 +0000 Subject: [PATCH 2/2] update: rollback tx_response.code to span Signed-off-by: Salman Wahib --- src/modules/[chain]/tx/[hash].vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/[chain]/tx/[hash].vue b/src/modules/[chain]/tx/[hash].vue index 0556e609..d725154e 100644 --- a/src/modules/[chain]/tx/[hash].vue +++ b/src/modules/[chain]/tx/[hash].vue @@ -55,12 +55,12 @@ const messages = computed(() => { tx.tx_response.code === 0 ? 'success' : 'error' }`" > - + > {{ tx.tx_response.code === 0 ? 'Success' : 'Failded' }}