mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
crosbymichael/dockerui#194 fix toggleAll function by only iterating over filtered objects
Signed-off-by: Philip Miglinci <p.miglinci@gmail.com>
This commit is contained in:
parent
8cdb675abc
commit
d2bc18b575
8 changed files with 9 additions and 9 deletions
|
@ -45,7 +45,7 @@ angular.module('volumes', []).config(['$routeProvider', function ($routeProvider
|
|||
};
|
||||
|
||||
$scope.toggleSelectAll = function () {
|
||||
angular.forEach($scope.volumes, function (i) {
|
||||
angular.forEach($scope.filteredVolumes, function (i) {
|
||||
i.Checked = $scope.toggle;
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue