change(ui): project dropdown text
This commit is contained in:
parent
a8f9b55a56
commit
9a1173e2d6
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue