From 42009219a745de71795e863cbfef66240e96b562 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Wed, 20 Sep 2023 10:12:57 +0800 Subject: [PATCH] endpoint switch improvement --- src/layouts/components/ChainProfile.vue | 2 +- src/layouts/components/DefaultLayout.vue | 10 ++++++++-- src/stores/useBaseStore.ts | 11 +++++++++-- src/stores/useBlockchain.ts | 1 - 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src/layouts/components/ChainProfile.vue b/src/layouts/components/ChainProfile.vue index d1d3bebcaf..affc1cb3c4 100644 --- a/src/layouts/components/ChainProfile.vue +++ b/src/layouts/components/ChainProfile.vue @@ -33,7 +33,7 @@ function changeEndpoint(item: Endpoint) { baseStore.latest?.block?.header?.height || chainStore.chainName || '' - }} + }} {{ baseStore.connected ? '' : 'disconnected' }}