From 33084001c70f73b816f53a0d7e96523ebe49a83b Mon Sep 17 00:00:00 2001 From: sylenien Date: Tue, 20 Sep 2022 15:51:12 +0200 Subject: [PATCH] change(ui): hide 0 --- .../components/DashboardWidgetGrid/DashboardWidgetGrid.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/Dashboard/components/DashboardWidgetGrid/DashboardWidgetGrid.tsx b/frontend/app/components/Dashboard/components/DashboardWidgetGrid/DashboardWidgetGrid.tsx index 035ba6524..51d01c45e 100644 --- a/frontend/app/components/Dashboard/components/DashboardWidgetGrid/DashboardWidgetGrid.tsx +++ b/frontend/app/components/Dashboard/components/DashboardWidgetGrid/DashboardWidgetGrid.tsx @@ -43,7 +43,7 @@ function DashboardWidgetGrid(props: Props) {
} > - {smallWidgets.length && ( + {smallWidgets.length > 0 ? ( <>
@@ -65,7 +65,7 @@ function DashboardWidgetGrid(props: Props) { ))}
- )} + ) : null}