Revision 59070
Added by Konstantina Galouni almost 4 years ago
advancedSearchSoftware.module.ts | ||
---|---|---|
7 | 7 |
|
8 | 8 |
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; |
9 | 9 |
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; |
10 |
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard' |
|
11 | 10 |
import {AdvancedSearchResearchResultsModule} from "../../openaireLibrary/searchPages/advanced/advancedSearchResearchResults.module"; |
12 | 11 |
|
13 | 12 |
@NgModule({ |
... | ... | |
19 | 18 |
declarations: [ |
20 | 19 |
OpenaireAdvancedSearchSoftwareComponent |
21 | 20 |
], |
22 |
providers:[FreeGuard, IsRouteEnabled],
|
|
21 |
providers:[FreeGuard], |
|
23 | 22 |
exports: [ |
24 | 23 |
OpenaireAdvancedSearchSoftwareComponent |
25 | 24 |
] |
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).