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;
|
return false;
|
||||||
}
|
}
|
||||||
for (let i = 0; i < Math.min(3, this.versionParts.length, otherVersionParts.length); i++) {
|
for (let i = 0; i < Math.min(3, this.versionParts.length, otherVersionParts.length); i++) {
|
||||||
if (this.versionParts[i] > otherVersionParts[i]) {
|
if (this.versionParts[i] !== otherVersionParts[i]) {
|
||||||
return true;
|
return this.versionParts[i] > otherVersionParts[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue