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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user