mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-16 04:02:31 +00:00
temporarily handle current device in device list
This commit is contained in:
parent
b7f3425f36
commit
3840d57f8d
@ -39,6 +39,11 @@ export class DeviceService {
|
|||||||
} else {
|
} else {
|
||||||
// Set connected
|
// Set connected
|
||||||
device.connected = this.sysConns.connections[device.deviceID].connected;
|
device.connected = this.sysConns.connections[device.deviceID].connected;
|
||||||
|
|
||||||
|
// TODO ? temporarily set to connected
|
||||||
|
if (device.deviceID === this.thisDevice.deviceID) {
|
||||||
|
device.connected = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.dbCompletionService.getDeviceCompletion(device.deviceID).subscribe(
|
this.dbCompletionService.getDeviceCompletion(device.deviceID).subscribe(
|
||||||
|
Loading…
Reference in New Issue
Block a user