From 9a1173e2d6f06636c2810f01079a1f1c30b79429 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Wed, 9 Aug 2023 12:18:44 +0530 Subject: [PATCH] change(ui): project dropdown text --- frontend/app/layout/SideMenu.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/app/layout/SideMenu.tsx b/frontend/app/layout/SideMenu.tsx index 62fbea99e..b1c796c30 100644 --- a/frontend/app/layout/SideMenu.tsx +++ b/frontend/app/layout/SideMenu.tsx @@ -28,19 +28,19 @@ function SideMenu(props: RouteComponentProps) { menu.forEach((category) => { category.items.forEach((item) => { - if (item.key === MENU.NOTES && !modules.includes(MODULES.NOTES)) { + if (item.key === MENU.NOTES && modules.includes(MODULES.NOTES)) { item.hidden = true; } - if ((item.key === MENU.LIVE_SESSIONS || item.key === MENU.RECORDINGS) && !modules.includes(MODULES.ASSIST)) { + if ((item.key === MENU.LIVE_SESSIONS || item.key === MENU.RECORDINGS) && modules.includes(MODULES.ASSIST)) { item.hidden = true; } - if (item.key === MENU.SESSIONS && !modules.includes(MODULES.OFFLINE_RECORDINGS)) { + if (item.key === MENU.SESSIONS && modules.includes(MODULES.OFFLINE_RECORDINGS)) { item.hidden = true; } - if (item.key === MENU.ALERTS && !modules.includes(MODULES.ALERTS)) { + if (item.key === MENU.ALERTS && modules.includes(MODULES.ALERTS)) { item.hidden = true; } });