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