Refactor. API explanations. UX revamp.

This commit is contained in:
Simon Lindh authored and wiz committed 2020-02-26 03:26:16 +09:00
1 parent acd658a0e7
commit 34645908e9
40 files changed
+474 -210

No files matched your search

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