Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ErickSharp authored and frankkopp committed Mar 16, 2022
1 parent cf90141 commit ac39400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/instruments/src/EFB/Presets/Widgets/AircraftPresets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ export const AircraftPresets = () => {
<div className="p-4 mt-4 space-y-4 rounded-lg border-2 border-theme-accent h-content-section-reduced">
<div className="flex flex-row justify-center items-center p-2 space-x-2 h-14 rounded-md border-2 border-theme-accent">
{ loadPresetVar ? (
<p>Select a Preset to Load</p>
) : (
<>
<div className="overflow-hidden w-full rounded-md bg-theme-accent">
<div className="h-full bg-theme-highlight" style={{ width: `${loadPresetProgress}%`, transition: 'width 0.5s ease' }} />
Expand All @@ -56,6 +54,8 @@ export const AircraftPresets = () => {
Cancel
</div>
</>
) : (
<p>Select a Preset to Load</p>
)}
</div>

Expand Down

0 comments on commit ac39400

Please sign in to comment.