Skip to content

Commit 9dad9cc

Browse files
committed
disable checkbox during loading to avoid race conditions
1 parent acd5434 commit 9dad9cc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

webapp/src/app/components/dialogs/load-map/load-map.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
<div class="filter no-error-msg flex flex-col">
2121
@if (currentMod) {
2222
<div class="mb-3">
23-
<mat-checkbox
24-
color="primary"
23+
<mat-checkbox
24+
color="primary"
2525
[(ngModel)]="vanillaMaps"
26+
[disabled]="loading()"
2627
>
2728
Vanilla Maps
2829
</mat-checkbox>

0 commit comments

Comments
 (0)