Revision 59100
Added by Konstantina Galouni almost 4 years ago
libSoftware.module.ts | ||
---|---|---|
1 | 1 |
import { NgModule} from '@angular/core'; |
2 | 2 |
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; |
3 | 3 |
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; |
4 |
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; |
|
5 | 4 |
import { OpenaireSoftwareComponent } from './software.component'; |
6 | 5 |
import {SoftwareRoutingModule} from './software-routing.module'; |
7 | 6 |
import {ResultLandingModule} from "../../openaireLibrary/landingPages/result/resultLanding.module"; |
8 | 7 |
@NgModule({ |
9 | 8 |
imports: [SoftwareRoutingModule, ResultLandingModule], |
10 | 9 |
declarations:[OpenaireSoftwareComponent], |
11 |
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
|
10 |
providers:[FreeGuard, PreviousRouteRecorder], |
|
12 | 11 |
exports:[OpenaireSoftwareComponent] |
13 | 12 |
}) |
14 | 13 |
export class LibSoftwareModule { } |
Also available in: Unified diff
[Trunk | Connect]: Remove IsRouteEnabled guard from landing and search pages (these pages should load even when not active - existing links from other pages).