Disable timespan controls while isLoading

This commit is contained in:
nymkappa
2023-02-21 18:48:09 +09:00
parent cf1bf9f0c5
commit 05594675c0
19 changed files with 54 additions and 12 deletions

View File

@@ -80,7 +80,7 @@ export class BlockRewardsGraphComponent implements OnInit {
this.route
.fragment
.subscribe((fragment) => {
if (['3m', '6m', '1y', '2y', '3y', 'all'].indexOf(fragment) > -1) {
if (['1m', '3m', '6m', '1y', '2y', '3y', 'all'].indexOf(fragment) > -1) {
this.radioGroupForm.controls.dateSpan.setValue(fragment, { emitEvent: false });
}
});