2021-04-01 16:40:10 +02:00
|
|
|
import {Component, OnInit} from '@angular/core';
|
|
|
|
import {properties} from "../../../environments/environment";
|
2018-01-23 11:07:39 +01:00
|
|
|
|
|
|
|
|
|
|
|
@Component({
|
2021-04-01 16:40:10 +02:00
|
|
|
selector: 'openaire-my-claims',
|
|
|
|
template: `
|
2019-09-13 09:46:57 +02:00
|
|
|
<my-claims *ngIf="userInfoURL && claimsInfoURL" [claimsInfoURL]=claimsInfoURL [userInfoURL]="userInfoURL">
|
2021-04-01 16:40:10 +02:00
|
|
|
</my-claims>
|
|
|
|
`
|
|
|
|
|
2018-01-23 11:07:39 +01:00
|
|
|
})
|
2021-04-01 16:40:10 +02:00
|
|
|
export class OpenaireMyClaimsComponent implements OnInit {
|
|
|
|
claimsInfoURL: string;
|
2019-09-13 09:46:57 +02:00
|
|
|
userInfoURL: string;
|
2021-04-01 16:40:10 +02:00
|
|
|
|
|
|
|
constructor() {
|
2020-11-11 15:44:21 +01:00
|
|
|
}
|
2021-04-01 16:40:10 +02:00
|
|
|
|
|
|
|
public ngOnInit() {
|
|
|
|
this.claimsInfoURL = properties.claimsInformationLink;
|
|
|
|
this.userInfoURL = properties.userInfoUrl;
|
2020-11-11 15:44:21 +01:00
|
|
|
}
|
2018-01-23 11:07:39 +01:00
|
|
|
}
|