Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sirmmo committed Nov 12, 2024
1 parent 3ceff7d commit 94f27ae
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/app/components/DownloadDataDialog/mapDlData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,11 @@ const MapDlData = (props: MapDlDataProps) => {
{getOptions('aggregation_period').map(item => (
<MenuItem
key={item.value}
value={item.value}
disabled={
activeCombination.aggregation_period.indexOf(item.value) <
0
}
value={item.value}
>
{item.label}
</MenuItem>
Expand Down Expand Up @@ -422,13 +422,7 @@ const MapDlData = (props: MapDlDataProps) => {
name="time_window"
>
{getOptions('time_window').map(item => (
<MenuItem
key={item.value}
disabled={
activeCombination.time_window.indexOf(item.value) < 0
}
value={item.value}
>
<MenuItem key={item.value} value={item.value}>
{item.label}
</MenuItem>
))}
Expand Down

0 comments on commit 94f27ae

Please sign in to comment.