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; });