fix(api): correctly check if update is available for release versions

pull/1447/head
sct 4 years ago
parent a54241c775
commit 190cbd6559
No known key found for this signature in database
GPG Key ID: 77D146606D30DCCD

@ -59,7 +59,7 @@ router.get<unknown, StatusResponse>('/status', async (req, res) => {
if (releases.length) {
const latestVersion = releases[0];
if (latestVersion.name !== currentVersion) {
if (!latestVersion.name.includes(currentVersion)) {
updateAvailable = true;
}
}

Loading…
Cancel
Save