diff --git a/src/modules/[chain]/ibc/[connection_id].vue b/src/modules/[chain]/ibc/[connection_id].vue index 4e7806a9..de57f5a2 100644 --- a/src/modules/[chain]/ibc/[connection_id].vue +++ b/src/modules/[chain]/ibc/[connection_id].vue @@ -3,6 +3,7 @@ import { useBaseStore, useBlockchain } from '@/stores'; import type { Connection, ClientState, Channel } from '@/types'; import { onMounted } from 'vue'; import { ref } from 'vue'; +import { Icon } from '@iconify/vue'; const props = defineProps(['chain', 'connection_id']); const chainStore = useBlockchain(); @@ -43,36 +44,39 @@ function color(v: string) {
-
-
-
- {{ conn.client_id }} {{ props.connection_id }} -
-
- {{ baseStore.latest?.block?.header?.chain_id }} -
+
+
+
+
+ {{ baseStore.latest?.block?.header?.chain_id }} +
+
+ {{ conn.client_id }} {{ props.connection_id }} +
+
-
-
{{ conn.state }}
-
- <> -
+
+
+ +
+
+ {{ conn.state }} +
+
-
-
- {{ conn.counterparty?.connection_id }} {{ clientState.client_id }} -
-
+
{{ clientState.client_state?.chain_id }} -
+
+
+ {{ conn.counterparty?.connection_id }} {{ clientState.client_id }} +
@@ -106,7 +110,7 @@ function color(v: string) { - + diff --git a/src/modules/[chain]/ibc/index.vue b/src/modules/[chain]/ibc/index.vue index 5d1e5a03..bef075ff 100644 --- a/src/modules/[chain]/ibc/index.vue +++ b/src/modules/[chain]/ibc/index.vue @@ -25,31 +25,31 @@ function color(v: string) {

IBC Connections

-
Channel IdChannel Id Port Id Counterparty Hops
+
- - - - + + + + - - + - - - +
Connection IdConnectionDelay PeriodStateConnection IdConnectionDelay PeriodState
- {{ - v.id - }} +
+ + {{ v.id }} + + {{ v.client_id }} {{ v.id }}
{{ v.counterparty.client_id }} {{ v.counterparty.connection_id }}
{{ v.delay_period }} + {{ v.delay_period }}