Various fixes and design updates.

This commit is contained in:
Simon Lindh
2020-02-24 22:51:27 +07:00
committed by wiz
parent c5c068a8d4
commit 057bff69fc
14 changed files with 55 additions and 55 deletions

View File

@@ -143,10 +143,10 @@ export class StatisticsComponent implements OnInit {
switchMap(() => {
this.spinnerLoading = true;
if (this.radioGroupForm.controls.dateSpan.value === '2h') {
this.websocketService.want(['blocks', 'live-2h-chart']);
this.websocketService.want(['blocks', 'stats', 'live-2h-chart']);
return this.apiService.list2HStatistics$();
}
this.websocketService.want(['blocks']);
this.websocketService.want(['blocks', 'stats']);
if (this.radioGroupForm.controls.dateSpan.value === '24h') {
return this.apiService.list24HStatistics$();
}