From b8614a1e09e509ed92a469874384a06ee944f793 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 27 Dec 2023 15:18:42 +0100 Subject: [PATCH] Revert "trim v on version check (#3039)" This reverts commit af3b35f06a21c2b0e40ce17a2b71bfc81e024c13. --- web/src/compositions/useVersion.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/compositions/useVersion.ts b/web/src/compositions/useVersion.ts index 949e9d9dec..1a116481ce 100644 --- a/web/src/compositions/useVersion.ts +++ b/web/src/compositions/useVersion.ts @@ -73,9 +73,9 @@ export function useVersion() { if (usesNext) { latest = versionInfo.next; } else if (current.includes('rc')) { - latest = versionInfo.rc.replace(/^v/, ''); + latest = versionInfo.rc; } else { - latest = versionInfo.latest.replace(/^v/, ''); + latest = versionInfo.latest; } }