import {Component, ViewChild, Input} from '@angular/core'; import {Location} from '@angular/common'; import {Title, Meta} from '@angular/platform-browser'; import {Observable} from 'rxjs'; @Component({ selector: 'claims-admin', template: `
Manage links
`, }) export class ClaimsAdminComponent { @Input() fetchBy:string; @Input() fetchId:string; @Input() isConnect:boolean = false; @Input() externalPortalUrl:string; @Input() claimsInfoURL:string; constructor ( private _meta: Meta, private _title: Title) { var titleConnect = "OpenAIRE Connect | Manage links "; var title = "OpenAIRE | Manage links "; if(this.isConnect) { this._title.setTitle(titleConnect); } else { this._title.setTitle(title); } } ngOnInit() { } }