diff --git a/opencti-platform/opencti-front/src/private/components/nav/LeftBar.jsx b/opencti-platform/opencti-front/src/private/components/nav/LeftBar.jsx index 0bb5a7c5fe755..c90d19526d71d 100644 --- a/opencti-platform/opencti-front/src/private/components/nav/LeftBar.jsx +++ b/opencti-platform/opencti-front/src/private/components/nav/LeftBar.jsx @@ -361,9 +361,13 @@ const LeftBar = () => { dense={true} classes={{ root: classes.menuSubItem }} > - {submenu_show_icons && entry.icon && - {entry.icon} - } + {(submenu_show_icons && entry.icon) ? ( + + {entry.icon} + + ) : ( +
+ )} { onMouseLeave={() => !navOpen && handleSelectedMenuClose()} > - + {navOpen && ( - + )} - {navOpen && (selectedMenu.includes('dashboards') ? : )} + {navOpen && (selectedMenu.includes('dashboards') ? : )} {generateSubMenu( 'dashboards',