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

This commit is contained in:
ReenigneArcher
2025-01-21 19:46:04 -05:00
committed by GitHub
parent 5af21bde88
commit eb6916ef34

View File

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