From 51bf15728a6175a8c07f13f548a1414342583742 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Wed, 21 May 2014 21:06:20 +0200 Subject: [PATCH] Fix delete node (fixes #250) --- gui/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/app.js b/gui/app.js index e64d933ac..78b23e79e 100644 --- a/gui/app.js +++ b/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; });