diff --git a/src/layout/MainLayout/Sidebar/MenuList/index.js b/src/layout/MainLayout/Sidebar/MenuList/index.js index 7e71655..e62dbcb 100755 --- a/src/layout/MainLayout/Sidebar/MenuList/index.js +++ b/src/layout/MainLayout/Sidebar/MenuList/index.js @@ -7,7 +7,6 @@ import { Typography } from '@mui/material'; import NavGroup from './NavGroup'; import useAuth from 'hooks/useAuth'; -import other from 'menu-items/other'; import admin from 'menu-items/admin'; import judge from 'menu-items/judge'; import dashboard from 'menu-items/dashboard'; @@ -17,7 +16,7 @@ import dashboard from 'menu-items/dashboard'; const MenuList = () => { const { accesstype } = useAuth(); - const menuItem = accesstype === '001' ? { items: [dashboard, admin, other] } : { items: [judge] }; + const menuItem = accesstype === '001' ? { items: [dashboard, admin] } : { items: [judge] }; const navItems = menuItem.items.map((item) => { switch (item.type) { diff --git a/src/layout/MainLayout/index.js b/src/layout/MainLayout/index.js index 726e795..1d1e110 100755 --- a/src/layout/MainLayout/index.js +++ b/src/layout/MainLayout/index.js @@ -9,7 +9,6 @@ import { AppBar, Box, Container, CssBaseline, Toolbar, useMediaQuery } from '@mu import Breadcrumbs from 'ui-component/extended/Breadcrumbs'; import Header from './Header'; import Sidebar from './Sidebar'; -import other from 'menu-items/other'; import admin from 'menu-items/admin'; import judge from 'menu-items/judge'; import dashboard from 'menu-items/dashboard'; @@ -120,7 +119,7 @@ const MainLayout = () => { { <> , - type: 'item', - url: '/modalForm', - icon: icons.IconHelp - }, - { - id: 'sample-page', - title: , - type: 'item', - url: '/sample-page', - icon: icons.IconBrandChrome, - breadcrumbs: false - }, - { - id: 'documentation', - title: , - type: 'item', - url: 'https://codedthemes.gitbook.io/berry/', - icon: icons.IconHelp, - external: true, - target: true - } - - // { - // id: 'draggableModal', - // title: , - // type: 'item', - // url: '/draggableModal', - // icon: icons.IconHelp - // } - ] -}; - -export default other;