Skip to content

Commit 72a050c

Browse files
committed
[DSpace#4172] Shift enableRSS route data for coll and comm routes
app-routes previously set this but it now needs to be set in collection-page-routes and community-page-routes respectively.
1 parent e3c6ad8 commit 72a050c

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/app-routes.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,12 @@ export const APP_ROUTES: Route[] = [
9999
path: COMMUNITY_MODULE_PATH,
100100
loadChildren: () => import('./community-page/community-page-routes')
101101
.then((m) => m.ROUTES),
102-
data: { enableRSS: true },
103102
canActivate: [endUserAgreementCurrentUserGuard],
104103
},
105104
{
106105
path: COLLECTION_MODULE_PATH,
107106
loadChildren: () => import('./collection-page/collection-page-routes')
108107
.then((m) => m.ROUTES),
109-
data: { enableRSS: true },
110108
canActivate: [endUserAgreementCurrentUserGuard],
111109
},
112110
{

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const ROUTES: Route[] = [
9999
data: {
100100
breadcrumbKey: 'collection.search',
101101
menuRoute: MenuRoute.COLLECTION_PAGE,
102+
enableRSS: true,
102103
},
103104
},
104105
{

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export const ROUTES: Route[] = [
8686
data: {
8787
breadcrumbKey: 'community.search',
8888
menuRoute: MenuRoute.COMMUNITY_PAGE,
89+
enableRSS: true,
8990
},
9091
},
9192
{

0 commit comments

Comments
 (0)