Revision 59070
Added by Konstantina Galouni almost 4 years ago
advancedSearchProjects.module.ts | ||
---|---|---|
5 | 5 |
import {AdvancedSearchProjectsRoutingModule} from './advancedSearchProjects-routing.module'; |
6 | 6 |
import {OpenaireAdvancedSearchProjectsComponent} from './advancedSearchProjects.component'; |
7 | 7 |
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; |
8 |
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; |
|
9 | 8 |
import {SearchProjectsModule} from "../../openaireLibrary/searchPages/searchProjects.module"; |
10 | 9 |
|
11 | 10 |
@NgModule({ |
... | ... | |
18 | 17 |
declarations: [ |
19 | 18 |
OpenaireAdvancedSearchProjectsComponent |
20 | 19 |
], |
21 |
providers: [FreeGuard, IsRouteEnabled],
|
|
20 |
providers: [FreeGuard], |
|
22 | 21 |
exports: [ |
23 | 22 |
OpenaireAdvancedSearchProjectsComponent |
24 | 23 |
] |
Also available in: Unified diff
[Trunk | Explore]: Remove IsRouteEnabled guard from landing and search pages (these pages should load even when not active - existing links from other pages).