From d0b0322f08a3cdc31fca0171943c63647a21fc0e Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 7 Apr 2025 00:41:08 +0200 Subject: [PATCH] Fix webUI stable changelog url In case the "webui update status" has already been reset, the "tag" of the status is just an empty string and will cause an invalid url. Besides this, it is currently not possible to point to the actual changelog of a stable release, because the "tag" is not the actual "github tag" and thus, the url just points to a non-existing release --- src/modules/app-updates/components/WebUIUpdateChecker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/app-updates/components/WebUIUpdateChecker.tsx b/src/modules/app-updates/components/WebUIUpdateChecker.tsx index c558d4df..41056645 100644 --- a/src/modules/app-updates/components/WebUIUpdateChecker.tsx +++ b/src/modules/app-updates/components/WebUIUpdateChecker.tsx @@ -64,7 +64,7 @@ export const WebUIUpdateChecker = () => { const changelogUrl = updateStatus.info?.channel === WebUiChannel.Stable - ? `https://github.com/Suwayomi/Suwayomi-WebUI/releases/tag/${updateStatus.info?.tag}` + ? `https://github.com/Suwayomi/Suwayomi-WebUI/releases/latest` : `https://github.com/Suwayomi/Suwayomi-WebUI/issues/749`; const newVersion = aboutWebUI?.tag;