Revision 59102
Added by Konstantina Galouni almost 4 years ago
libPublication.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 { MonitorPublicationComponent } from './publication.component'; |
6 | 5 |
import {PublicationRoutingModule} from './publication-routing.module'; |
7 | 6 |
import {ResultLandingModule} from "../../../openaireLibrary/landingPages/result/resultLanding.module"; |
... | ... | |
9 | 8 |
@NgModule({ |
10 | 9 |
imports: [PublicationRoutingModule, ResultLandingModule], |
11 | 10 |
declarations:[MonitorPublicationComponent], |
12 |
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
|
11 |
providers:[FreeGuard, PreviousRouteRecorder], |
|
13 | 12 |
exports:[MonitorPublicationComponent] |
14 | 13 |
}) |
15 | 14 |
export class LibPublicationModule { } |
Also available in: Unified diff
[Trunk | Monitor Dashboard]: Remove IsRouteEnabled guard from landing pages (these pages should load even when not active - existing links from other pages).