mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
[#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:
@@ -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],
|
||||
},
|
||||
{
|
||||
|
@@ -99,6 +99,7 @@ export const ROUTES: Route[] = [
|
||||
data: {
|
||||
breadcrumbKey: 'collection.search',
|
||||
menuRoute: MenuRoute.COLLECTION_PAGE,
|
||||
enableRSS: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@@ -86,6 +86,7 @@ export const ROUTES: Route[] = [
|
||||
data: {
|
||||
breadcrumbKey: 'community.search',
|
||||
menuRoute: MenuRoute.COMMUNITY_PAGE,
|
||||
enableRSS: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user