import {Component, Input} from '@angular/core';
import { FetchPublications } from '../../utils/fetchEntitiesClasses/fetchPublications.class';
import { FetchDatasets } from '../../utils/fetchEntitiesClasses/fetchDatasets.class';
import { ErrorCodes} from '../../utils/properties/errorCodes';
import {RouterHelper} from '../../utils/routerHelper.class';
import { Observable } from 'rxjs/Observable';
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 | ||
---|---|---|---|---|
{{results.get(id).name}} | 0" class="uk-text-center"> {{results.get(id).countPublications}} | - | 0" class="uk-text-center"> {{results.get(id).countDatasets}} | - |