added the api for the real data
This commit is contained in:
@@ -3,9 +3,9 @@ import MapRoundedIcon from '@mui/icons-material/MapRounded';
|
||||
import HailRoundedIcon from '@mui/icons-material/HailRounded';
|
||||
import MoveToInboxRoundedIcon from '@mui/icons-material/MoveToInboxRounded';
|
||||
import AltRouteRoundedIcon from '@mui/icons-material/AltRouteRounded';
|
||||
import WarehouseRoundedIcon from '@mui/icons-material/WarehouseRounded';
|
||||
import LocalShippingRoundedIcon from '@mui/icons-material/LocalShippingRounded';
|
||||
import DeliveryDiningRoundedIcon from '@mui/icons-material/DeliveryDiningRounded';
|
||||
import SettingsRoundedIcon from '@mui/icons-material/SettingsRounded';
|
||||
|
||||
// ==============================|| DOORMILE HUB NAVIGATION ITEMS ||============================== //
|
||||
// Menu follows the parcel's real journey in plain language so any hub staff member
|
||||
@@ -34,8 +34,7 @@ const navItems = [
|
||||
{
|
||||
group: '3. Sort & Store',
|
||||
items: [
|
||||
{ id: 'routing', title: 'Where Does It Go?', url: '/routing', icon: AltRouteRoundedIcon },
|
||||
{ id: 'inventory', title: 'Storage Shelves', url: '/inventory', icon: WarehouseRoundedIcon }
|
||||
{ id: 'routing', title: 'Where Does It Go?', url: '/routing', icon: AltRouteRoundedIcon }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -50,6 +49,14 @@ const navItems = [
|
||||
{ id: 'riders', title: 'Milers', url: '/riders', icon: DeliveryDiningRoundedIcon },
|
||||
{ id: 'rider-routes', title: 'Rider Routes', url: '/rider-routes', icon: AltRouteRoundedIcon }
|
||||
]
|
||||
},
|
||||
{
|
||||
group: 'Management',
|
||||
// Doormile staff only — hidden for partner (restricted) accounts.
|
||||
doormileOnly: true,
|
||||
items: [
|
||||
{ id: 'hub-settings', title: 'Hub Settings', url: '/hub-settings', icon: SettingsRoundedIcon, doormileOnly: true }
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user