From de25a4ed8e210913f6ed2582af0cfb85ebde7a73 Mon Sep 17 00:00:00 2001 From: GraceWalk Date: Tue, 13 Sep 2022 14:45:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Broker=20Card=20?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=95=B0=E6=8D=AE=E5=90=8E=E4=BE=9D=E6=97=A7?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=8A=A0=E8=BD=BD=E6=80=81=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/CardBar/BrokerHealthCheck.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/km-console/packages/layout-clusters-fe/src/components/CardBar/BrokerHealthCheck.tsx b/km-console/packages/layout-clusters-fe/src/components/CardBar/BrokerHealthCheck.tsx index 59162568..e4bc6c2b 100644 --- a/km-console/packages/layout-clusters-fe/src/components/CardBar/BrokerHealthCheck.tsx +++ b/km-console/packages/layout-clusters-fe/src/components/CardBar/BrokerHealthCheck.tsx @@ -90,7 +90,7 @@ export default () => { return (
Similar Config - +
@@ -111,7 +111,7 @@ export default () => { ]; setCardData(cordRightMap); }); - Promise.all([brokerMetric, brokersState]).then((res) => { + Promise.all([brokerMetric, brokersState]).finally(() => { setLoading(false); }); }, [routeParams.clusterId]);