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:
@@ -1999,8 +1999,8 @@ angular.module('syncthing.core')
|
|||||||
time: (new Date()).toISOString()
|
time: (new Date()).toISOString()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id in $scope.devices) {
|
if (device in $scope.devices) {
|
||||||
$scope.devices[id].ignoredFolders.push(ignoredFolder);
|
$scope.devices[device].ignoredFolders.push(ignoredFolder);
|
||||||
$scope.saveConfig();
|
$scope.saveConfig();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2018,8 +2018,8 @@ angular.module('syncthing.core')
|
|||||||
time: (new Date()).toISOString()
|
time: (new Date()).toISOString()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id in $scope.devices) {
|
if (device in $scope.devices) {
|
||||||
$scope.devices[id].ignoredFolders.push(ignoredFolder);
|
$scope.devices[device].ignoredFolders.push(ignoredFolder);
|
||||||
$scope.saveConfig();
|
$scope.saveConfig();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user