fix(web-ui): fix new version notification conditions (#3577)
This commit is contained in:
parent
5af21bde88
commit
eb6916ef34
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue