claimsByToken: use the component from library - set properly the module
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@52448 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
2301a1e3db
commit
5c36e62f9e
|
@ -4,8 +4,8 @@ import {Component} from '@angular/core';
|
||||||
selector: 'openaire-claims-project-manager',
|
selector: 'openaire-claims-project-manager',
|
||||||
template: `
|
template: `
|
||||||
<p>TODO: fix library issue<p>
|
<p>TODO: fix library issue<p>
|
||||||
<!--claims-project-manager>
|
<claims-project-manager>
|
||||||
</claims-project-manager-->
|
</claims-project-manager>
|
||||||
`,
|
`,
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,18 +2,20 @@ import { NgModule } from '@angular/core';
|
||||||
import { RouterModule } from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
import { SharedModule } from '../../shared/shared.module';
|
import { SharedModule } from '../../shared/shared.module';
|
||||||
import { OpenaireClaimsByTokenComponent } from './claimsByToken.component';
|
import { OpenaireClaimsByTokenComponent } from './claimsByToken.component';
|
||||||
//ClaimsByTokenModule,
|
import {ClaimsByTokenModule} from '../../openaireLibrary/claims/claimsByToken/claimsByToken.module';
|
||||||
import {LoginGuard} from '../../openaireLibrary/login/loginGuard.guard';
|
import {LoginGuard} from '../../openaireLibrary/login/loginGuard.guard';
|
||||||
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||||
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
|
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
|
||||||
|
import { ClaimsByTokenRoutingModule } from './claimsByToken-routing.module';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule,
|
RouterModule,
|
||||||
SharedModule
|
SharedModule,
|
||||||
|
ClaimsByTokenModule,
|
||||||
|
ClaimsByTokenRoutingModule
|
||||||
],
|
],
|
||||||
providers:[
|
providers:[
|
||||||
LoginGuard, PreviousRouteRecorder, IsRouteEnabled
|
LoginGuard, PreviousRouteRecorder, IsRouteEnabled
|
||||||
|
|
Loading…
Reference in New Issue