mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Fix delete node (fixes #250)
This commit is contained in:
parent
2331089854
commit
51bf15728a
@ -308,7 +308,7 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http) {
|
|||||||
});
|
});
|
||||||
$scope.config.Nodes = $scope.nodes;
|
$scope.config.Nodes = $scope.nodes;
|
||||||
|
|
||||||
for (var id in repos) {
|
for (var id in $scope.repos) {
|
||||||
$scope.repos[id].Nodes = $scope.repos[id].Nodes.filter(function (n) {
|
$scope.repos[id].Nodes = $scope.repos[id].Nodes.filter(function (n) {
|
||||||
return n.NodeID !== $scope.currentNode.NodeID;
|
return n.NodeID !== $scope.currentNode.NodeID;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user