fix(web-ui): fix new version notification conditions (#3577)

This commit is contained in:
ReenigneArcher authored and GitHub committed 2025-01-22 00:46:04 +00:00
1 parent 5af21bde88
commit eb6916ef34
1 file changed
+2 -2
@@ -44,8 +44,8 @@ class SunshineVersion {
return false;
}
for (let i = 0; i < Math.min(3, this.versionParts.length, otherVersionParts.length); i++) {
if (this.versionParts[i] > otherVersionParts[i]) {
return true;
if (this.versionParts[i] !== otherVersionParts[i]) {
return this.versionParts[i] > otherVersionParts[i];
}
}
return false;