diff --git a/src/pages/labellingHome/index.js b/src/pages/labellingHome/index.js index cff2e6f..1d1d00e 100644 --- a/src/pages/labellingHome/index.js +++ b/src/pages/labellingHome/index.js @@ -9,12 +9,12 @@ function LabelingHome() { const data = [ { name: 'Location Label', - path: '/location-labeling', + path: '/setup/labeling/location-labeling', icon: }, { name: 'Widget Label', - path: '/', + path: '/setup/labeling', icon: } ]; diff --git a/src/pages/setup/index.js b/src/pages/setup/index.js index 57b3d05..a82b191 100644 --- a/src/pages/setup/index.js +++ b/src/pages/setup/index.js @@ -11,22 +11,22 @@ function SetupHome() { const data = [ { name: 'Warehouse', - path: '/warehouse', + path: '/setup/warehouse', icon: }, { name: 'Inventory', - path: '/inventory', + path: '/setup/inventory', icon: }, { name: 'User & Access', - path: '/', + path: '/setup/users-access', icon: }, { name: 'Labeling', - path: '/labeling', + path: '/setup/labeling', icon: } ]; diff --git a/src/pages/setupInventory/index.js b/src/pages/setupInventory/index.js index d3bfd0d..c1feb2d 100644 --- a/src/pages/setupInventory/index.js +++ b/src/pages/setupInventory/index.js @@ -18,7 +18,7 @@ function SetupInventory() { }, { name: 'Products', - path: { update: '/', addNew: '/inventory-new', cycleCount: '/', list: '/' }, + path: { update: '/', addNew: '/setup/inventory/inventory-new', cycleCount: '/', list: '/' }, icon: }, { diff --git a/src/pages/warehouse/index.js b/src/pages/warehouse/index.js index fb7d6ba..0d5883d 100644 --- a/src/pages/warehouse/index.js +++ b/src/pages/warehouse/index.js @@ -28,7 +28,11 @@ function WarehouseScreen() { return ( - navigate('/warehouse-form')}> + navigate('/setup/warehouse/add-warehouse')} + > + Add new @@ -36,7 +40,7 @@ function WarehouseScreen() { tiles={warehouseData.map((warehouse) => ({ ...warehouse, icon: , - path: '/edit-warehouse-design-form' + path: '/setup/warehouse/edit-warehouse' }))} />