Revision 59189
Added by Konstantina Galouni almost 4 years ago
libOrganization.module.ts | ||
---|---|---|
1 |
//import {MaterialModule} from '@angular/material'; |
|
2 | 1 |
import { NgModule} from '@angular/core'; |
3 |
import { CommonModule } from '@angular/common'; |
|
4 |
import { FormsModule } from '@angular/forms'; |
|
5 |
import { SharedModule } from '../../shared/shared.module'; |
|
6 |
import { RouterModule } from '@angular/router'; |
|
7 | 2 |
import { OrganizationModule } from '../../openaireLibrary/landingPages/organization/organization.module'; |
8 | 3 |
import {FreeGuard} from '../../openaireLibrary/login/freeGuard.guard'; |
9 | 4 |
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard'; |
10 |
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard'; |
|
11 | 5 |
import { OpenaireOrganizationComponent } from './organization.component'; |
12 | 6 |
import {OrganizationRoutingModule} from './organization-routing.module'; |
13 | 7 |
|
14 | 8 |
@NgModule({ |
15 | 9 |
imports: [OrganizationModule, OrganizationRoutingModule], |
16 | 10 |
declarations:[OpenaireOrganizationComponent], |
17 |
providers:[FreeGuard, PreviousRouteRecorder, IsRouteEnabled],
|
|
11 |
providers:[FreeGuard, PreviousRouteRecorder], |
|
18 | 12 |
exports:[OpenaireOrganizationComponent] |
19 | 13 |
}) |
20 | 14 |
export class LibOrganizationModule { } |
Also available in: Unified diff
[use-UoaAdminToolsLibrary | Connect]: Merge trunk into branch.