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