From bc70bedb781de416364785cb3bfc573f92584cd3 Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Sat, 28 Jan 2023 20:41:54 -0800 Subject: [PATCH] Fixed the bug with empty variables --- frontend/src/components/dashboard/SideBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/dashboard/SideBar.tsx b/frontend/src/components/dashboard/SideBar.tsx index 5f67808f1..1a3f99a29 100644 --- a/frontend/src/components/dashboard/SideBar.tsx +++ b/frontend/src/components/dashboard/SideBar.tsx @@ -106,7 +106,7 @@ const SideBar = ({ blurred={false} /> - {data[0]?.value ? ( + {(data[0]?.value || data[0]?.value === "") ? (
)}
- {data[0]?.value && ( + {(data[0]?.value || data[0]?.value === "") && (

{t('dashboard:sidebar.override')}