mirror of
https://github.com/syncthing/syncthing.git
synced 2026-04-27 09:48:16 -04:00
gui: Remove needless looping in ignoreFolder() (#7059)
This commit is contained in:
@@ -1927,10 +1927,8 @@ angular.module('syncthing.core')
|
||||
// Bump time
|
||||
pendingFolder.time = (new Date()).toISOString();
|
||||
|
||||
if (id in $scope.devices) {
|
||||
$scope.devices[id].ignoredFolders.push(pendingFolder);
|
||||
$scope.saveConfig();
|
||||
}
|
||||
$scope.devices[id].ignoredFolders.push(pendingFolder);
|
||||
$scope.saveConfig();
|
||||
};
|
||||
|
||||
$scope.sharesFolder = function (folderCfg) {
|
||||
|
||||
Reference in New Issue
Block a user