mirror of
https://github.com/syncthing/syncthing.git
synced 2026-12-04 07:42:37 -08:00
This reverts commit c7d40ccbae.
This commit is contained in:
1 parent
c7d40ccbae
commit
bc012d750d
1 file changed
+4
-2
@@ -1927,8 +1927,10 @@ angular.module('syncthing.core')
|
||||
// Bump time
|
||||
pendingFolder.time = (new Date()).toISOString();
|
||||
|
||||
$scope.devices[id].ignoredFolders.push(pendingFolder);
|
||||
$scope.saveConfig();
|
||||
if (id in $scope.devices) {
|
||||
$scope.devices[id].ignoredFolders.push(pendingFolder);
|
||||
$scope.saveConfig();
|
||||
}
|
||||
};
|
||||
|
||||
$scope.sharesFolder = function (folderCfg) {
|
||||
|
||||
Reference in new issue
Block a user