LFFE-28 Merge branch 'bugfix/LFFE-28_sidebar_in_mobile' into 'develop'

This commit is contained in:
AmirHossein Mahmoodi
2023-11-18 07:50:48 +00:00
2 changed files with 4 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ const SidebarListItem = ({item, dispatch, handleDrawerToggle}) => {
if (hasSubItems) {
dispatch({type: "COLLAPSE_MENU", key: item.key});
}
handleDrawerToggle()
}}
sx={{
minHeight: 48,

View File

@@ -43,6 +43,9 @@ const SidebarListSubItem = ({item, handleDrawerToggle}) => {
to={{
pathname: subitem.route,
}}
onClick={() => {
handleDrawerToggle()
}}
sx={{
minHeight: 48,
}}