change(ui): project dropdown text

This commit is contained in:
Shekar Siri 2023-08-09 12:18:44 +05:30
parent a8f9b55a56
commit 9a1173e2d6

View file

@ -28,19 +28,19 @@ function SideMenu(props: RouteComponentProps<Props>) {
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;
}
});