mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Fix for input directive using strict comparison to determined "checked" row
This commit is contained in:
parent
32da686724
commit
9bb696aa6e
@ -46,7 +46,7 @@ export default
|
||||
if (row.checked) {
|
||||
row.success_class = 'success';
|
||||
} else {
|
||||
row.checked = true;
|
||||
row.checked = 1;
|
||||
row.success_class = '';
|
||||
}
|
||||
$scope.$emit('inventorySelected', row);
|
||||
|
||||
@ -44,7 +44,7 @@ export default ['templateUrl', function(templateUrl) {
|
||||
if($scope.currentSelection && $scope.currentSelection.id) {
|
||||
$scope[list.name].forEach(function(row) {
|
||||
if (row.id === $scope.currentSelection.id) {
|
||||
row.checked = true;
|
||||
row.checked = 1;
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -71,7 +71,7 @@ export default ['templateUrl', function(templateUrl) {
|
||||
if (row.checked) {
|
||||
row.success_class = 'success';
|
||||
} else {
|
||||
row.checked = true;
|
||||
row.checked = 1;
|
||||
row.success_class = '';
|
||||
}
|
||||
$scope.currentSelection = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user