Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Oct 7, 2023
1 parent 7b61be3 commit 67aec1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"engines": {
"node": "^18.18.0 || ^20.8.0",
"homebridge": "^1.6.1 || ^2.0.0"
"homebridge": "^1.6.0"
},
"scripts": {
"check": "npm install && npm outdated",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/shared/layout/layout.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class LayoutComponent implements OnInit {
await this.$settings.onSettingsLoaded.toPromise();
}

if (!lt(this.$settings.uiVersion, environment.serverTarget)) {
if (lt(this.$settings.uiVersion, environment.serverTarget)) {
console.log(`Server restart required. UI Version: ${environment.serverTarget} - Server Version: ${this.$settings.uiVersion} `);
const ref = this.$modal.open(ConfirmComponent);

Expand Down

0 comments on commit 67aec1b

Please sign in to comment.