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

32 lines
938 B
Diff
Raw Normal View History

2024-04-26 12:19:50 +02:00
From 9929fa50a7631de81f1d16895f67612555b6c9af Mon Sep 17 00:00:00 2001
2024-02-22 11:31:13 +01:00
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@stgraber.org>
Date: Fri, 16 Feb 2024 17:32:51 +0000
2024-04-26 12:19:50 +02:00
Subject: [PATCH 6/8] Remove version check
2024-02-22 11:31:13 +01:00
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
2024-04-26 12:19:50 +02:00
index a9b0741..24bd540 100644
2024-02-22 11:31:13 +01:00
--- 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