import {Component, Input} from '@angular/core'; import { FetchDataproviders } from '../../utils/fetchEntitiesClasses/fetchDataproviders.class'; import {ErrorCodes} from '../../utils/properties/errorCodes'; import{EnvProperties} from '../../utils/properties/env-properties'; @Component({ selector: 'datasourcesTab', template: `
View all {{fetchDataproviders.searchUtils.totalResults}} results
` }) export class DatasourcesTabComponent { @Input() paramsForSearchLink = {}; @Input() fetchDataproviders : FetchDataproviders; @Input() properties:EnvProperties ; public linkToSearchDataproviders = ""; public errorCodes:ErrorCodes = new ErrorCodes(); constructor () {} ngOnInit() { this.linkToSearchDataproviders = this.properties.searchLinkToAdvancedDataProviders; } ngOnDestroy() {} }