import {Component, Input} from '@angular/core';
import { FetchResearchResults } from '../../utils/fetchEntitiesClasses/fetchResearchResults.class';
import { ErrorCodes} from '../../utils/properties/errorCodes';
import { RouterHelper } from '../../utils/routerHelper.class';
import { EnvProperties } from '../../utils/properties/env-properties';
@Component({
selector: 'relatedDatasourcesTab',
template: `
Content Provider Name | 0 || fetchPublications.searchUtils.status == errorCodes.ERROR" class="uk-text-center"> Number of Publications | 0 || fetchDatasets.searchUtils.status == errorCodes.ERROR" class="uk-text-center"> Number of Research Data | 0 || fetchSoftware.searchUtils.status == errorCodes.ERROR" class="uk-text-center"> Number of Software | 0 || fetchOrps.searchUtils.status == errorCodes.ERROR" class="uk-text-center"> Number of Other Research Products | ||||
---|---|---|---|---|---|---|---|---|
{{results.get(id).name}} | 0" class="uk-text-center"> {{results.get(id).countPublications | number}} | - | 0" class="uk-text-center"> {{results.get(id).countDatasets | number}} | - | 0" class="uk-text-center"> {{results.get(id).countSoftware | number}} | - | 0" class="uk-text-center"> {{results.get(id).countOrps | number}} | - |