[Trunk | Monitor Dashboard]: Remove IsRouteEnabled guard from landing pages (these pages should load even when not active - existing links from other pages).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59102 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
37817eaf55
commit
d351c5b00a
|
@ -1,18 +1,14 @@
|
|||
//import {MaterialModule} from '@angular/material';
|
||||
import { NgModule} from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { DataProviderModule } from '../../../openaireLibrary/landingPages/dataProvider/dataProvider.module';
|
||||
import { MonitorDataProviderComponent } from './dataProvider.component';
|
||||
import {DataProviderRoutingModule} from './dataProvider-routing.module';
|
||||
import {FreeGuard} from '../../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {IsRouteEnabled} from '../../../openaireLibrary/error/isRouteEnabled.guard'
|
||||
|
||||
@NgModule({
|
||||
imports: [DataProviderModule, DataProviderRoutingModule],
|
||||
declarations:[MonitorDataProviderComponent],
|
||||
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
||||
providers:[FreeGuard, PreviousRouteRecorder],
|
||||
exports:[MonitorDataProviderComponent]
|
||||
})
|
||||
export class LibDataProviderModule { }
|
||||
|
|
|
@ -2,13 +2,13 @@ import { NgModule} from '@angular/core';
|
|||
import { MonitorDatasetComponent } from './dataset.component';
|
||||
import {FreeGuard} from '../../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {IsRouteEnabled} from '../../../openaireLibrary/error/isRouteEnabled.guard';
|
||||
import {DatasetRoutingModule} from './dataset-routing.module';
|
||||
import {ResultLandingModule} from "../../../openaireLibrary/landingPages/result/resultLanding.module";
|
||||
|
||||
@NgModule({
|
||||
imports: [DatasetRoutingModule, ResultLandingModule],
|
||||
declarations:[MonitorDatasetComponent],
|
||||
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
||||
exports:[MonitorDatasetComponent]
|
||||
imports: [DatasetRoutingModule, ResultLandingModule],
|
||||
declarations:[MonitorDatasetComponent],
|
||||
providers:[FreeGuard, PreviousRouteRecorder],
|
||||
exports:[MonitorDatasetComponent]
|
||||
})
|
||||
export class LibDatasetModule { }
|
||||
|
|
|
@ -2,14 +2,13 @@ import {NgModule} from '@angular/core';
|
|||
import {HtmlProjectReportModule} from '../../../openaireLibrary/landingPages/htmlProjectReport/htmlProjectReport.module';
|
||||
import {FreeGuard} from '../../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {IsRouteEnabled} from '../../../openaireLibrary/error/isRouteEnabled.guard';
|
||||
import {MonitorHtmlProjectReportComponent} from './htmlProjectReport.component';
|
||||
import {HtmlProjectReportRoutingModule} from './htmlProjectReport-routing.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [HtmlProjectReportModule, HtmlProjectReportRoutingModule],
|
||||
declarations:[MonitorHtmlProjectReportComponent],
|
||||
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
||||
providers:[FreeGuard, PreviousRouteRecorder],
|
||||
exports:[MonitorHtmlProjectReportComponent]
|
||||
})
|
||||
export class LibHtmlProjectReportModule { }
|
||||
|
|
|
@ -1,16 +1,14 @@
|
|||
//import {MaterialModule} from '@angular/material';
|
||||
import {NgModule} from '@angular/core';
|
||||
import {OrganizationModule} from '../../../openaireLibrary/landingPages/organization/organization.module';
|
||||
import {FreeGuard} from '../../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {IsRouteEnabled} from '../../../openaireLibrary/error/isRouteEnabled.guard';
|
||||
import {MonitorOrganizationComponent} from './organization.component';
|
||||
import {OrganizationRoutingModule} from './organization-routing.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [OrganizationModule, OrganizationRoutingModule],
|
||||
declarations:[MonitorOrganizationComponent],
|
||||
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
||||
providers:[FreeGuard, PreviousRouteRecorder],
|
||||
exports:[MonitorOrganizationComponent]
|
||||
})
|
||||
export class LibOrganizationModule { }
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import {NgModule} from '@angular/core';
|
||||
import {FreeGuard} from '../../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {IsRouteEnabled} from '../../../openaireLibrary/error/isRouteEnabled.guard';
|
||||
import {MonitorOrpComponent} from './orp.component';
|
||||
import {OrpRoutingModule} from './orp-routing.module';
|
||||
import {ResultLandingModule} from "../../../openaireLibrary/landingPages/result/resultLanding.module";
|
||||
|
@ -14,7 +13,7 @@ import {ResultLandingModule} from "../../../openaireLibrary/landingPages/result/
|
|||
MonitorOrpComponent
|
||||
],
|
||||
providers: [
|
||||
FreeGuard, PreviousRouteRecorder, IsRouteEnabled
|
||||
FreeGuard, PreviousRouteRecorder
|
||||
],
|
||||
exports: [
|
||||
MonitorOrpComponent
|
||||
|
|
|
@ -2,14 +2,13 @@ import {NgModule} from '@angular/core';
|
|||
import {ProjectModule} from '../../../openaireLibrary/landingPages/project/project.module';
|
||||
import {FreeGuard} from '../../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {IsRouteEnabled} from '../../../openaireLibrary/error/isRouteEnabled.guard';
|
||||
import {MonitorProjectComponent} from './project.component';
|
||||
import {ProjectRoutingModule} from './project-routing.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [ProjectModule, ProjectRoutingModule],
|
||||
declarations:[MonitorProjectComponent],
|
||||
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
||||
providers:[FreeGuard, PreviousRouteRecorder],
|
||||
exports:[MonitorProjectComponent]
|
||||
})
|
||||
export class LibProjectModule { }
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { NgModule} from '@angular/core';
|
||||
import {FreeGuard} from '../../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {IsRouteEnabled} from '../../../openaireLibrary/error/isRouteEnabled.guard';
|
||||
import { MonitorPublicationComponent } from './publication.component';
|
||||
import {PublicationRoutingModule} from './publication-routing.module';
|
||||
import {ResultLandingModule} from "../../../openaireLibrary/landingPages/result/resultLanding.module";
|
||||
|
@ -9,7 +8,7 @@ import {ResultLandingModule} from "../../../openaireLibrary/landingPages/result/
|
|||
@NgModule({
|
||||
imports: [PublicationRoutingModule, ResultLandingModule],
|
||||
declarations:[MonitorPublicationComponent],
|
||||
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
||||
providers:[FreeGuard, PreviousRouteRecorder],
|
||||
exports:[MonitorPublicationComponent]
|
||||
})
|
||||
export class LibPublicationModule { }
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
import { NgModule} from '@angular/core';
|
||||
import {FreeGuard} from '../../../openaireLibrary/login/freeGuard.guard';
|
||||
import {PreviousRouteRecorder} from '../../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||
import {IsRouteEnabled} from '../../../openaireLibrary/error/isRouteEnabled.guard';
|
||||
import { MonitorSoftwareComponent } from './software.component';
|
||||
import {SoftwareRoutingModule} from './software-routing.module';
|
||||
import {ResultLandingModule} from "../../../openaireLibrary/landingPages/result/resultLanding.module";
|
||||
@NgModule({
|
||||
imports: [SoftwareRoutingModule, ResultLandingModule],
|
||||
declarations:[MonitorSoftwareComponent],
|
||||
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
||||
providers:[FreeGuard, PreviousRouteRecorder],
|
||||
exports:[MonitorSoftwareComponent]
|
||||
})
|
||||
export class LibSoftwareModule { }
|
||||
|
|
Loading…
Reference in New Issue