diff --git a/src/app/pages/account/account-page.module.ts b/src/app/pages/account/account-page.module.ts index a6344c12ea2..e6c5440baf3 100644 --- a/src/app/pages/account/account-page.module.ts +++ b/src/app/pages/account/account-page.module.ts @@ -38,8 +38,8 @@ const accountPageRoutes: Routes = [ loadChildren: () => import('../account-order/account-order-page.module').then(m => m.AccountOrderPageModule), }, { - path: 'overview', - data: { breadcrumbData: [{ key: 'account.overview.link' }] }, + path: '', + data: { breadcrumbData: [] }, component: AccountOverviewPageModule.component, }, { @@ -73,11 +73,6 @@ const accountPageRoutes: Routes = [ m => m.QuoteRequestEditPageModule ), }, - { - path: '', - pathMatch: 'full', - redirectTo: 'overview', - }, ], }, ]; diff --git a/src/app/pages/account/components/account-navigation/account-navigation.component.html b/src/app/pages/account/components/account-navigation/account-navigation.component.html index fa8132d188b..a5ca4ae2148 100644 --- a/src/app/pages/account/components/account-navigation/account-navigation.component.html +++ b/src/app/pages/account/components/account-navigation/account-navigation.component.html @@ -7,7 +7,7 @@ -
  • +
  • {{ item.localizationKey | translate }} diff --git a/src/app/pages/account/components/account-navigation/account-navigation.component.ts b/src/app/pages/account/components/account-navigation/account-navigation.component.ts index 0409d4f177e..eb5cbb1eb4f 100644 --- a/src/app/pages/account/components/account-navigation/account-navigation.component.ts +++ b/src/app/pages/account/components/account-navigation/account-navigation.component.ts @@ -17,7 +17,7 @@ export class AccountNavigationComponent implements OnInit, OnChanges { * Manages the Account Navigation items. */ navigationItems: { link: string; localizationKey: string; dataTestingId?: string; feature?: string }[] = [ - { link: '/account/overview', localizationKey: 'account.my_account.link' }, + { link: '/account', localizationKey: 'account.my_account.link' }, { link: '/account/orders', localizationKey: 'account.order_history.link' }, { link: '/account/addresses', localizationKey: 'account.saved_addresses.link', dataTestingId: 'addresses-link' }, { link: '/account/profile', localizationKey: 'account.profile.link' }, diff --git a/src/app/shared/common/components/breadcrumb/breadcrumb.component.html b/src/app/shared/common/components/breadcrumb/breadcrumb.component.html index 08ce8ac2023..6a82a0d6145 100644 --- a/src/app/shared/common/components/breadcrumb/breadcrumb.component.html +++ b/src/app/shared/common/components/breadcrumb/breadcrumb.component.html @@ -13,8 +13,13 @@ >