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