From 9345cb39343c3fa9beee98becd785edeff31c92c Mon Sep 17 00:00:00 2001 From: advplyr Date: Thu, 8 Aug 2024 17:04:50 -0500 Subject: [PATCH] Update version check get changelogs --- client/plugins/version.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/plugins/version.js b/client/plugins/version.js index f515ea11..488404c6 100644 --- a/client/plugins/version.js +++ b/client/plugins/version.js @@ -69,9 +69,10 @@ export async function checkForUpdate() { const latestVersion = releases[0] const currentVersionMinor = currentVersion.minor + const currentVersionMajor = currentVersion.major // Show all releases with the same minor version and lower or equal total version const releasesToShow = releases.filter((release) => { - return release.minor == currentVersionMinor && release.total <= currentVersion.total + return release.major == currentVersionMajor && release.minor == currentVersionMinor && release.total <= currentVersion.total }) return {