From 819d9bad660293abb7c9826a4b0b4cc67f024e9f Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Tue, 7 May 2024 00:28:33 +0200 Subject: [PATCH] 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 --- src/components/util/WebUIUpdateChecker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/util/WebUIUpdateChecker.tsx b/src/components/util/WebUIUpdateChecker.tsx index c8926641..b9b0db7a 100644 --- a/src/components/util/WebUIUpdateChecker.tsx +++ b/src/components/util/WebUIUpdateChecker.tsx @@ -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;