Skip to content

Commit

Permalink
OLMIS-7903: breadcrumbs update
Browse files Browse the repository at this point in the history
  • Loading branch information
mdulko committed Apr 4, 2024
1 parent 91b9fa3 commit 878f401
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions src/buq/Routing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,51 +40,63 @@ const Routing = ({

const breadcrumbsRoutes = [{
path: '/buq',
breadcrumb: 'BUQ'
breadcrumb: 'BUQ',
isDisabled: true
},
{
path: '/buq/prepare',
breadcrumb: 'Prepare BUQ'
breadcrumb: 'Prepare BUQ',
isDisabled: false
},
{
path: '/buq/create',
breadcrumb: 'Create / Authorize Forecasting'
breadcrumb: 'Create / Authorize Forecasting',
isDisabled: false
},
{
path: '/buq/create/:id',
breadcrumb: 'Facility Demanding Forecasting Form'
breadcrumb: 'Facility Demanding Forecasting Form',
isDisabled: false
},
{
path: '/buq/national-approve',
breadcrumb: 'Pending Approvals'
breadcrumb: 'Pending Approvals',
isDisabled: false
},
{
path: '/buq/national-approval',
breadcrumb: 'Pending Approvals'
breadcrumb: 'Pending Approvals',
isDisabled: false
},
{
path: '/buq/national-approval/:id',
breadcrumb: 'Facility Demanding Forecasting Form'
breadcrumb: 'Facility Demanding Forecasting Form',
isDisabled: false
},
{
path: '/buq/national-approve/:districtId',
breadcrumb: 'District Summary'
breadcrumb: 'District Summary',
isDisabled: false
},
{
path: '/buq/national-approve/:districtId/:facilityId',
breadcrumb: `Facilities Consolidated Summary for ${mohApprovalParams?.region} region`
breadcrumb: `Facilities Consolidated Summary for ${mohApprovalParams?.region} region`,
isDisabled: false
},
{
path: '/buq/national-approve/:districtId/:facilityId/:id',
breadcrumb: 'Facility Demanding Forecasting Form'
breadcrumb: 'Facility Demanding Forecasting Form',
isDisabled: false
},
{
path: '/buq/approve',
breadcrumb: 'Approve BUQ'
breadcrumb: 'Approve BUQ',
isDisabled: false
},
{
path: '/buq/approve/:id',
breadcrumb: 'Facility Demanding Forecasting Form'
breadcrumb: 'Facility Demanding Forecasting Form',
isDisabled: false
}
];

Expand Down

0 comments on commit 878f401

Please sign in to comment.