mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
parent
9189c79d74
commit
0d90ae26ac
@ -1105,7 +1105,7 @@ angular.module('syncthing.core')
|
||||
};
|
||||
|
||||
$scope.setDevicePause = function (device, pause) {
|
||||
$scope.devices[id].paused = pause;
|
||||
$scope.devices[device].paused = pause;
|
||||
$scope.config.devices = $scope.deviceList();
|
||||
$scope.saveConfig();
|
||||
};
|
||||
@ -1466,6 +1466,7 @@ angular.module('syncthing.core')
|
||||
return;
|
||||
}
|
||||
|
||||
var id = $scope.currentDevice.deviceID
|
||||
delete $scope.devices[id];
|
||||
$scope.config.devices = $scope.deviceList();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user