Browse Source

Fix delete node (fixes #250)

Jakob Borg 11 years ago
parent
commit
51bf15728a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/app.js

+ 1 - 1
gui/app.js

@@ -308,7 +308,7 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http) {
         });
         $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) {
                 return n.NodeID !== $scope.currentNode.NodeID;
             });