Re-enable graph timespan controls while isLoading

This commit is contained in:
natsoni
2024-05-24 17:08:36 +02:00
parent 2c04896397
commit bd5abf6592
23 changed files with 13 additions and 67 deletions

View File

@@ -10,7 +10,7 @@
</div>
<form [formGroup]="radioGroupForm" class="formRadioGroup" *ngIf="daysAvailable">
<div class="btn-group btn-group-toggle" name="radioBasic" [class]="{'disabled': isLoading}">
<div class="btn-group btn-group-toggle" name="radioBasic">
<label class="btn btn-primary btn-sm" [class.active]="radioGroupForm.get('dateSpan').value === '24h'">
<input type="radio" [value]="'24h'" fragment="24h" [routerLink]="['/graphs/acceleration/fees' | relativeUrl]" formControlName="dateSpan"> 24H
</label>

View File

@@ -65,8 +65,3 @@ h5 {
font-size: 1rem;
color: var(--title-fg);
}
.disabled {
pointer-events: none;
opacity: 0.5;
}