Skip to content

Commit

Permalink
Ignore available webUI update in case auto update is enabled
Browse files Browse the repository at this point in the history
The available update info is only supposed to be shown in case the auto update is disabled, but instead, it was only shown in case auto update was enabled
  • Loading branch information
schroda committed May 6, 2024
1 parent 4d04b9c commit 819d9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/util/WebUIUpdateChecker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const WebUIUpdateChecker = () => {
}, [webUIUpdateState]);

const isUpdateAvailable =
isAutoUpdateEnabled && updateChecker.handleUpdate && webUIUpdateData?.checkForWebUIUpdate.updateAvailable;
!isAutoUpdateEnabled && updateChecker.handleUpdate && webUIUpdateData?.checkForWebUIUpdate.updateAvailable;
if (isUpdateAvailable) {
const isUpdateInProgress = webUIUpdateState === UpdateState.Downloading;

Expand Down

0 comments on commit 819d9ba

Please sign in to comment.