mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +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,
|
path: COMMUNITY_MODULE_PATH,
|
||||||
loadChildren: () => import('./community-page/community-page-routes')
|
loadChildren: () => import('./community-page/community-page-routes')
|
||||||
.then((m) => m.ROUTES),
|
.then((m) => m.ROUTES),
|
||||||
data: { enableRSS: true },
|
|
||||||
canActivate: [endUserAgreementCurrentUserGuard],
|
canActivate: [endUserAgreementCurrentUserGuard],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: COLLECTION_MODULE_PATH,
|
path: COLLECTION_MODULE_PATH,
|
||||||
loadChildren: () => import('./collection-page/collection-page-routes')
|
loadChildren: () => import('./collection-page/collection-page-routes')
|
||||||
.then((m) => m.ROUTES),
|
.then((m) => m.ROUTES),
|
||||||
data: { enableRSS: true },
|
|
||||||
canActivate: [endUserAgreementCurrentUserGuard],
|
canActivate: [endUserAgreementCurrentUserGuard],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -99,6 +99,7 @@ export const ROUTES: Route[] = [
|
|||||||
data: {
|
data: {
|
||||||
breadcrumbKey: 'collection.search',
|
breadcrumbKey: 'collection.search',
|
||||||
menuRoute: MenuRoute.COLLECTION_PAGE,
|
menuRoute: MenuRoute.COLLECTION_PAGE,
|
||||||
|
enableRSS: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@@ -86,6 +86,7 @@ export const ROUTES: Route[] = [
|
|||||||
data: {
|
data: {
|
||||||
breadcrumbKey: 'community.search',
|
breadcrumbKey: 'community.search',
|
||||||
menuRoute: MenuRoute.COMMUNITY_PAGE,
|
menuRoute: MenuRoute.COMMUNITY_PAGE,
|
||||||
|
enableRSS: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user