nixos-config/pkgs/incus-ui/ui-canonical-0006-Remove-version-check.patch

31 lines
938 B
Diff

From 02a3fdbde4c5bb60ca12f99f2141f0754f665b1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@stgraber.org>
Date: Fri, 16 Feb 2024 17:32:51 +0000
Subject: [PATCH 6/6] Remove version check
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
---
src/components/Version.tsx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/components/Version.tsx b/src/components/Version.tsx
index acb4c59..9c1d968 100644
--- a/src/components/Version.tsx
+++ b/src/components/Version.tsx
@@ -14,9 +14,7 @@ const Version: FC = () => {
const serverMajor = serverVersion.includes(".")
? serverVersion.split(".")[0]
: undefined;
- const isOutdated = serverMajor
- ? parseInt(serverMajor) < RECENT_MAJOR_SERVER_VERSION
- : false;
+ const isOutdated = false;
return (
<>
--
2.34.1