Merge pull request #506 from sxlmnwb/master

endpoint: improvement connectivity on dropdown
This commit is contained in:
ping 2023-09-22 08:51:17 +08:00 committed by GitHub
commit 7e03e3b32d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View File

@ -79,10 +79,14 @@ function changeEndpoint(item: Endpoint) {
<div class="px-4 py-2 text-sm text-gray-400">Information</div> <div class="px-4 py-2 text-sm text-gray-400">Information</div>
<div class="w-full"> <div class="w-full">
<div class="py-2 px-4"> <div class="py-2 px-4">
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' }}
</div> </div>
<div class="py-2 px-4"> <div class="py-2 px-4">
Height: {{ baseStore.latest.block?.header.height }} Height: {{ baseStore.latest.block?.header.height && baseStore.connected
? baseStore.latest.block.header.height
: '0' }}
</div> </div>
</div> </div>
<!-- bottom--> <!-- bottom-->

View File

@ -6765,11 +6765,6 @@ vue-i18n@^9.2.2:
"@intlify/vue-devtools" "9.3.0" "@intlify/vue-devtools" "9.3.0"
"@vue/devtools-api" "^6.5.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: vue-json-viewer@3:
version "3.0.4" version "3.0.4"
resolved "https://registry.yarnpkg.com/vue-json-viewer/-/vue-json-viewer-3.0.4.tgz#c1d65515e57d4036defbbc18fa942d7fd5fb9a8b" resolved "https://registry.yarnpkg.com/vue-json-viewer/-/vue-json-viewer-3.0.4.tgz#c1d65515e57d4036defbbc18fa942d7fd5fb9a8b"