import {Component, Input} from '@angular/core'; import { FetchOrps } from '../../utils/fetchEntitiesClasses/fetchOrps.class'; import {ErrorCodes} from '../../utils/properties/errorCodes'; import{EnvProperties} from '../../utils/properties/env-properties'; @Component({ selector: 'orpsTab', template: `
View all {{fetchOrps.searchUtils.totalResults | number}} results
` }) export class OrpsTabComponent { @Input() paramsForSearchLink = {}; @Input() fetchOrps : FetchOrps; @Input() properties:EnvProperties ; public linkToSearchOrps = ""; public errorCodes:ErrorCodes = new ErrorCodes(); constructor () {} ngOnInit() { this.linkToSearchOrps = this.properties.searchLinkToAdvancedOrps; } ngOnDestroy() {} }