bug fix
This commit is contained in:
parent
b039baea5b
commit
32821dfb2a
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ class PlejdService extends EventEmitter {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!uuid) {
|
if (!uuid) {
|
||||||
this.sortedDevices = Object.values(this.devices).sort((a, b) => b.rssi - a.rssi);
|
sortedDevices = Object.values(this.devices).sort((a, b) => b.rssi - a.rssi);
|
||||||
this.device = sortedDevices[this.deviceIdx];
|
this.device = sortedDevices[this.deviceIdx];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue