Ignore available webUI update in case auto update is enabled
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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user