From bb04a8f135089a8c3bfecd10b700563d5fa20762 Mon Sep 17 00:00:00 2001
From: Arsen Alkamyan <44676488+arsengit@users.noreply.github.com>
Date: Tue, 17 May 2022 20:41:54 +0400
Subject: [PATCH] [fix] Wrap Overview tab cards with ErrorBoundary (#1757)
---
.../RunOverviewTab/RunOverviewTab.tsx | 80 +++++++++++--------
1 file changed, 48 insertions(+), 32 deletions(-)
diff --git a/aim/web/ui/src/pages/RunDetail/RunOverviewTab/RunOverviewTab.tsx b/aim/web/ui/src/pages/RunDetail/RunOverviewTab/RunOverviewTab.tsx
index efc3867557..ad004bdf0f 100644
--- a/aim/web/ui/src/pages/RunDetail/RunOverviewTab/RunOverviewTab.tsx
+++ b/aim/web/ui/src/pages/RunDetail/RunOverviewTab/RunOverviewTab.tsx
@@ -72,55 +72,71 @@ function RunOverviewTab({ runData, runHash }: IRunOverviewTabProps) {
) : (
<>
{_.isEmpty(cardsData?.runParams) ? null : (
-
+
+
+
)}
{_.isEmpty(cardsData?.runMetricsBatch) ? null : (
-
+
+
+
)}
{_.isEmpty(cardsData?.runSystemBatch) ? null : (
-
+
+
+
)}
{_.isEmpty(cardsData.cliArguments) ? null : (
-
+
+
+
)}
{_.isEmpty(cardsData.envVariables) ? null : (
-
+
+
+
)}
{_.isEmpty(cardsData.packages) ? null : (
-
+
+
+
)}
{_.isEmpty(cardsData.gitInfo) ? null : (
-
+
+
+
)}
>
)}
-
+
+
+
);