Revision 59070
Added by Konstantina Galouni almost 4 years ago
libOrp.module.ts | ||
---|---|---|
7 | 7 |
import { OpenaireOrpComponent } from './orp.component'; |
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 {OrpRoutingModule} from './orp-routing.module'; |
12 | 11 |
import {ResultLandingModule} from "../../openaireLibrary/landingPages/result/resultLanding.module"; |
13 | 12 |
@NgModule({ |
14 | 13 |
imports: [OrpRoutingModule, ResultLandingModule], |
15 | 14 |
declarations:[OpenaireOrpComponent], |
16 |
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
|
15 |
providers:[FreeGuard, PreviousRouteRecorder], |
|
17 | 16 |
exports:[OpenaireOrpComponent] |
18 | 17 |
}) |
19 | 18 |
export class LibOrpModule { } |
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).