mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
parent
d842197931
commit
f1ec7fe55b
@ -213,6 +213,9 @@ angular.module('syncthing.core')
|
||||
});
|
||||
|
||||
$scope.$on(Events.DEVICE_DISCONNECTED, function (event, arg) {
|
||||
if (!$scope.connections[arg.data.id]) {
|
||||
return;
|
||||
}
|
||||
$scope.connections[arg.data.id].connected = false;
|
||||
refreshDeviceStats();
|
||||
});
|
||||
|
@ -213,6 +213,9 @@ angular.module('syncthing.core')
|
||||
});
|
||||
|
||||
$scope.$on(Events.DEVICE_DISCONNECTED, function (event, arg) {
|
||||
if (!$scope.connections[arg.data.id]) {
|
||||
return;
|
||||
}
|
||||
$scope.connections[arg.data.id].connected = false;
|
||||
refreshDeviceStats();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user