Skip to content

Commit

Permalink
fix(ui): Don't display updater warning if state is busy
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Jan 18, 2022
1 parent bbdf2ec commit 4d5c781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/settings/Updater.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ const UpdaterStateComponent : React.FunctionComponent<{ state: UpdaterState | un
{getContentForState()}
</Grid>
{
state.__class === "ValetudoUpdaterApplyPendingState" &&
state.__class === "ValetudoUpdaterApplyPendingState" && !state.busy &&
<Typography color="red" style={{marginTop:"1rem", width: "80%"}}>
Please keep in mind that updating can be a dangerous operation.<br/>
Make sure that you&apos;ve thoroughly read the changelog to be aware of possible breaking changes.<br/><br/>
Expand Down

0 comments on commit 4d5c781

Please sign in to comment.