diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 1947de175..c03b4d04e 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -1927,8 +1927,8 @@ angular.module('syncthing.core') // Bump time pendingFolder.time = (new Date()).toISOString(); - if (id in $scope.devices) { - $scope.devices[id].ignoredFolders.push(pendingFolder); + if (device in $scope.devices) { + $scope.devices[device].ignoredFolders.push(pendingFolder); $scope.saveConfig(); } };