mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-26 14:41:14 +00:00
fix(web-ui): fix new version notification conditions (#3577)
This commit is contained in:
parent
5af21bde88
commit
eb6916ef34
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user