[#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.
This commit is contained in:
Kim Shepherd
2025-04-28 15:31:31 +02:00
parent e3c6ad807b
commit 72a050c7ae
3 changed files with 2 additions and 2 deletions

View File

@@ -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],
},
{

View File

@@ -99,6 +99,7 @@ export const ROUTES: Route[] = [
data: {
breadcrumbKey: 'collection.search',
menuRoute: MenuRoute.COLLECTION_PAGE,
enableRSS: true,
},
},
{

View File

@@ -86,6 +86,7 @@ export const ROUTES: Route[] = [
data: {
breadcrumbKey: 'community.search',
menuRoute: MenuRoute.COMMUNITY_PAGE,
enableRSS: true,
},
},
{