Skip to content

Commit

Permalink
refactored sidebar menu
Browse files Browse the repository at this point in the history
  • Loading branch information
edmdz committed Jul 14, 2024
1 parent c908e48 commit d7c8f92
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/ResponsiveDrawer/menus.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import MiscellaneousServicesIcon from '@mui/icons-material/MiscellaneousServices';
import DirectionsCarFilledIcon from '@mui/icons-material/DirectionsCarFilled';
import InventoryIcon from '@mui/icons-material/Inventory';
import PersonIcon from '@mui/icons-material/Person';
import LocalShipping from '@mui/icons-material/LocalShipping';

import ManageAccountsIcon from '@mui/icons-material/ManageAccounts';
import { ROLES } from '../../util/userConstants';
Expand All @@ -11,9 +9,7 @@ import ProviderPage from '../../pages/Providers/ProviderPage';

const mainMenus = [
{ text: 'Productos', icon: <InventoryIcon />, roles: [ROLES.ADMIN, ROLES.EMPLOYEE], component: <ProductsPage /> },
{ text: 'Servicios', icon: <MiscellaneousServicesIcon />, roles: [ROLES.ADMIN, ROLES.EMPLOYEE] },
{ text: 'Autos', icon: <DirectionsCarFilledIcon />, roles: [ROLES.ADMIN, ROLES.EMPLOYEE] },
{ text: 'Proveedores', icon: <PersonIcon />, roles: [ROLES.ADMIN, ROLES.EMPLOYEE], component: <ProviderPage /> },
{ text: 'Proveedores', icon: <LocalShipping />, roles: [ROLES.ADMIN, ROLES.EMPLOYEE], component: <ProviderPage /> },
];

const adminMenus = [
Expand Down

0 comments on commit d7c8f92

Please sign in to comment.