Skip to content

Commit c212b3d

Browse files
committed
Add default route for when no page reaload is performed
1 parent cdcd886 commit c212b3d

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

src/app/collection-page/collection-page-routes.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,17 @@ export const ROUTES: Route[] = [
8686
menu: dsoEditMenuResolver,
8787
},
8888
children: [
89+
{
90+
path: '',
91+
pathMatch: 'full',
92+
component: ComcolSearchSectionComponent,
93+
},
8994
{
9095
path: 'search',
9196
pathMatch: 'full',
9297
component: ComcolSearchSectionComponent,
9398
resolve: {
94-
breadcrumb: browseByI18nBreadcrumbResolver,
99+
breadcrumb: i18nBreadcrumbResolver,
95100
},
96101
data: { breadcrumbKey: 'collection.search' },
97102
},

src/app/community-page/community-page-routes.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ export const ROUTES: Route[] = [
7373
menu: dsoEditMenuResolver,
7474
},
7575
children: [
76+
{
77+
path: '',
78+
pathMatch: 'full',
79+
component: ComcolSearchSectionComponent,
80+
},
7681
{
7782
path: 'search',
7883
pathMatch: 'full',

0 commit comments

Comments
 (0)