mirror of
https://github.com/octoleo/syncthing.git
synced 2024-09-19 13:19:01 +00:00
gui: Fix nonfunctional ignore button on pending folder notification (#7224)
The merge of #6443 apparently introduced a wrong argument name in $scope.ignoreFolder().
This commit is contained in:
parent
05f25e600e
commit
4bcc38cf63
@ -1999,8 +1999,8 @@ angular.module('syncthing.core')
|
||||
time: (new Date()).toISOString()
|
||||
}
|
||||
|
||||
if (id in $scope.devices) {
|
||||
$scope.devices[id].ignoredFolders.push(ignoredFolder);
|
||||
if (device in $scope.devices) {
|
||||
$scope.devices[device].ignoredFolders.push(ignoredFolder);
|
||||
$scope.saveConfig();
|
||||
}
|
||||
};
|
||||
|
@ -2018,8 +2018,8 @@ angular.module('syncthing.core')
|
||||
time: (new Date()).toISOString()
|
||||
}
|
||||
|
||||
if (id in $scope.devices) {
|
||||
$scope.devices[id].ignoredFolders.push(ignoredFolder);
|
||||
if (device in $scope.devices) {
|
||||
$scope.devices[device].ignoredFolders.push(ignoredFolder);
|
||||
$scope.saveConfig();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user