This reverts commit c7d40ccbae.
This commit is contained in:
@@ -1927,8 +1927,10 @@ angular.module('syncthing.core')
|
|||||||
// Bump time
|
// Bump time
|
||||||
pendingFolder.time = (new Date()).toISOString();
|
pendingFolder.time = (new Date()).toISOString();
|
||||||
|
|
||||||
$scope.devices[id].ignoredFolders.push(pendingFolder);
|
if (id in $scope.devices) {
|
||||||
$scope.saveConfig();
|
$scope.devices[id].ignoredFolders.push(pendingFolder);
|
||||||
|
$scope.saveConfig();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.sharesFolder = function (folderCfg) {
|
$scope.sharesFolder = function (folderCfg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user