Revision 62830
Added by Antonis Lempesis about 1 year ago
home.component.ts | ||
---|---|---|
12 | 12 |
|
13 | 13 |
export class HomeComponent implements OnInit { |
14 | 14 |
|
15 |
lastUpdateDate: string; |
|
16 |
|
|
15 | 17 |
europeOverviewData: EuropeData; |
16 | 18 |
|
17 | 19 |
selectedCountry: SelectedCountry = null; |
... | ... | |
34 | 36 |
// const inputContainer = document.getElementsByClassName('input-container')[0]; |
35 | 37 |
// inputContainer.insertAdjacentElement('afterbegin', searchIcon); |
36 | 38 |
|
39 |
this.dataService.getLastUpdateDate().subscribe( |
|
40 |
rawData => { |
|
41 |
this.lastUpdateDate = this.dataHandlerService.convertRawDataToLastUpdateDate(rawData); |
|
42 |
}, error => { |
|
43 |
console.log(error); |
|
44 |
} |
|
45 |
); |
|
46 |
|
|
37 | 47 |
this.dataService.getEuropeOverviewData().subscribe( |
38 | 48 |
rawData => { |
39 | 49 |
this.europeOverviewData = this.dataHandlerService.convertRawDataToEuropeOverviewData(rawData); |
Also available in: Unified diff
svn merge -r 61523:HEAD https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/open-science-observatory-ui/branches/new-indicators-and-graphs-osfair-2021