diff --git a/src/layouts/components/ChainProfile.vue b/src/layouts/components/ChainProfile.vue
index affc1cb3..67736286 100644
--- a/src/layouts/components/ChainProfile.vue
+++ b/src/layouts/components/ChainProfile.vue
@@ -79,10 +79,14 @@ function changeEndpoint(item: Endpoint) {
Information
- Chain Id: {{ baseStore.latest.block?.header.chain_id }}
+ Chain Id: {{ baseStore.latest.block?.header.chain_id && baseStore.connected
+ ? baseStore.latest.block.header.chain_id
+ : 'N/A' }}
- Height: {{ baseStore.latest.block?.header.height }}
+ Height: {{ baseStore.latest.block?.header.height && baseStore.connected
+ ? baseStore.latest.block.header.height
+ : '0' }}
diff --git a/yarn.lock b/yarn.lock
index fa9d2802..930383d7 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6765,11 +6765,6 @@ vue-i18n@^9.2.2:
"@intlify/vue-devtools" "9.3.0"
"@vue/devtools-api" "^6.5.0"
-vue-json-pretty@^2.2.4:
- version "2.2.4"
- resolved "https://registry.yarnpkg.com/vue-json-pretty/-/vue-json-pretty-2.2.4.tgz#4c82fa78aeb987460c727c3b31e45a58f58d9c95"
- integrity sha512-JX80b3QDrspcH43C53CdtYeq/froApQGSV5y43bEMWFj2LGOxB96aH1VmvrFA21nD1WTP6nwfFMQqGXuS4jyFQ==
-
vue-json-viewer@3:
version "3.0.4"
resolved "https://registry.yarnpkg.com/vue-json-viewer/-/vue-json-viewer-3.0.4.tgz#c1d65515e57d4036defbbc18fa942d7fd5fb9a8b"