Skip to content

Commit

Permalink
fix(ui): serial port validation
Browse files Browse the repository at this point in the history
Fixes #3728
  • Loading branch information
robertsLando committed May 30, 2024
1 parent 6c42bf8 commit f7f846e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1973,9 +1973,9 @@ export default {
},
differentPorts() {
return (
(this.newZwave.enabled &&
this.newZniffer.enabled &&
this.newZwave.port !== this.newZniffer.port) ||
!this.newZwave.enabled ||
!this.newZniffer.enabled ||
this.newZwave.port !== this.newZniffer.port ||
'Zniffer and Z-Wave ports must be different.'
)
},
Expand Down

0 comments on commit f7f846e

Please sign in to comment.