diff --git a/src/components/util/ServerUpdateChecker.tsx b/src/components/util/ServerUpdateChecker.tsx index 686fa47f..6fd4d100 100644 --- a/src/components/util/ServerUpdateChecker.tsx +++ b/src/components/util/ServerUpdateChecker.tsx @@ -68,10 +68,6 @@ export const ServerUpdateChecker = () => { setOpen(true); } - if (!serverInformAvailableUpdate) { - return null; - } - if (isCheckingForServerUpdate) { return null; } @@ -81,6 +77,10 @@ export const ServerUpdateChecker = () => { } if (isServerUpdateAvailable) { + if (!serverInformAvailableUpdate) { + return null; + } + const isAboutPage = window.location.pathname === '/settings/about'; if (isAboutPage) { return null;