mirror of
https://github.com/syncthing/syncthing.git
synced 2026-03-28 11:11:14 -04:00
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user