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
This commit is contained in:
schroda
2025-04-07 00:41:08 +02:00
parent 01020d81b8
commit d0b0322f08

View File

@@ -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;