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:
argiro.kokogiannaki 2018-06-12 10:37:55 +00:00
parent 2301a1e3db
commit 5c36e62f9e
2 changed files with 7 additions and 5 deletions

View File

@ -4,8 +4,8 @@ import {Component} from '@angular/core';
selector: 'openaire-claims-project-manager',
template: `
<p>TODO: fix library issue<p>
<!--claims-project-manager>
</claims-project-manager-->
<claims-project-manager>
</claims-project-manager>
`,
})

View File

@ -2,18 +2,20 @@ import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { SharedModule } from '../../shared/shared.module';
import { OpenaireClaimsByTokenComponent } from './claimsByToken.component';
//ClaimsByTokenModule,
import {ClaimsByTokenModule} from '../../openaireLibrary/claims/claimsByToken/claimsByToken.module';
import {LoginGuard} from '../../openaireLibrary/login/loginGuard.guard';
import {PreviousRouteRecorder} from '../../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
import {IsRouteEnabled} from '../../openaireLibrary/error/isRouteEnabled.guard';
import { ClaimsByTokenRoutingModule } from './claimsByToken-routing.module';
@NgModule({
imports: [
RouterModule,
SharedModule
SharedModule,
ClaimsByTokenModule,
ClaimsByTokenRoutingModule
],
providers:[
LoginGuard, PreviousRouteRecorder, IsRouteEnabled