import {Component, Input} from '@angular/core'; import { FetchSoftware } from '../../utils/fetchEntitiesClasses/fetchSoftware.class'; import {ErrorCodes} from '../../utils/properties/errorCodes'; import{EnvProperties} from '../../utils/properties/env-properties'; @Component({ selector: 'softwareTab', template: `
View all {{fetchSoftware.searchUtils.totalResults | number}} results
` }) export class SoftwareTabComponent { @Input() paramsForSearchLink = {}; @Input() fetchSoftware : FetchSoftware; @Input() properties:EnvProperties ; public linkToSearchSoftware = ""; public errorCodes:ErrorCodes = new ErrorCodes(); constructor () {} ngOnInit() { this.linkToSearchSoftware = this.properties.searchLinkToAdvancedSoftware; } ngOnDestroy() {} }