From 72a050c7aecd9fe8d8800e20a67c278fd21e9914 Mon Sep 17 00:00:00 2001 From: Kim Shepherd Date: Mon, 28 Apr 2025 15:31:31 +0200 Subject: [PATCH] [#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. --- src/app/app-routes.ts | 2 -- src/app/collection-page/collection-page-routes.ts | 1 + src/app/community-page/community-page-routes.ts | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app-routes.ts b/src/app/app-routes.ts index 937947c048..0882f5b72c 100644 --- a/src/app/app-routes.ts +++ b/src/app/app-routes.ts @@ -99,14 +99,12 @@ export const APP_ROUTES: Route[] = [ path: COMMUNITY_MODULE_PATH, loadChildren: () => import('./community-page/community-page-routes') .then((m) => m.ROUTES), - data: { enableRSS: true }, canActivate: [endUserAgreementCurrentUserGuard], }, { path: COLLECTION_MODULE_PATH, loadChildren: () => import('./collection-page/collection-page-routes') .then((m) => m.ROUTES), - data: { enableRSS: true }, canActivate: [endUserAgreementCurrentUserGuard], }, { diff --git a/src/app/collection-page/collection-page-routes.ts b/src/app/collection-page/collection-page-routes.ts index 9b729f1dc4..118b999240 100644 --- a/src/app/collection-page/collection-page-routes.ts +++ b/src/app/collection-page/collection-page-routes.ts @@ -99,6 +99,7 @@ export const ROUTES: Route[] = [ data: { breadcrumbKey: 'collection.search', menuRoute: MenuRoute.COLLECTION_PAGE, + enableRSS: true, }, }, { diff --git a/src/app/community-page/community-page-routes.ts b/src/app/community-page/community-page-routes.ts index 258fdda049..edbbfa1516 100644 --- a/src/app/community-page/community-page-routes.ts +++ b/src/app/community-page/community-page-routes.ts @@ -86,6 +86,7 @@ export const ROUTES: Route[] = [ data: { breadcrumbKey: 'community.search', menuRoute: MenuRoute.COMMUNITY_PAGE, + enableRSS: true, }, }, {