Skip to content

Commit

Permalink
breadcrumb Name Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajandeep98 committed Dec 10, 2024
1 parent 5ab7d1d commit 01fd2ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web/site/app/composables/sbcBreadcrumb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ export function useBreadcrumbs () {
bc.push({ label: t('sbcBreadcrumb.sbcHome'), to: '/' })
// Check for /products
if (route.path.includes('/products') && !route.path.includes('/get-started')) {
bc.push({ label: t('sbcBreadcrumb.sbcProducts'), to: localePath('/products') })
bc.push({ label: t('sbcBreadcrumb.sbcProductslist'), to: localePath('/products') })
}
// Check for /products/get-started and include sub-paths like /account-setup
if (route.path.includes('/products/get-started')) {
bc.push({ label: t('sbcBreadcrumb.sbcDocs'), to: localePath('/products/get-started') })
bc.push({ label: t('sbcBreadcrumb.sbcProducts'), to: localePath('/products/get-started') })
}

return bc
Expand Down
4 changes: 2 additions & 2 deletions web/site/app/locales/en-CA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default {
backBtn: 'Go Back',
arialabel: 'Breadcrumb',
sbcHome: 'Service BC Connect',
sbcProducts: 'Products',
sbcDocs: 'Documentation'
sbcProductslist: 'Products List',
sbcProducts: 'Products'
},
page: {
notFound: {
Expand Down

0 comments on commit 01fd2ed

Please sign in to comment.