Skip to content

Commit

Permalink
disable download button when no months are available for the station
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescorpian committed Mar 4, 2025
1 parent 8e7abe1 commit fd1a192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/lib/Stations.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<Button
color="secondary"
outline
disabled={!station.months?.length}
onclick={() => {
downloadStation = station;
downloadOpen = true;
Expand Down

0 comments on commit fd1a192

Please sign in to comment.