Skip to content

Commit

Permalink
Locked version selector while downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigTag committed Dec 18, 2020
1 parent 8da5f05 commit d5e299a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderer/components/AircraftSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ const index: React.FC<Props> = (props: Props) => {
<VersionSelect
styling={{ backgroundColor: '#00C2CB', color: 'white' }}
defaultValue={selectedTrack.name}
onSelect={item => findAndSetTrack(item.toString())}>
onSelect={item => findAndSetTrack(item.toString())}
disabled={isDownloading}>
{
selectedVariant.tracks.map(version =>
<Option value={version.key} key={version.key}>{version.name}</Option>
Expand Down

0 comments on commit d5e299a

Please sign in to comment.