mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Fixed bug removing item from allSelected
This commit is contained in:
parent
9007965a8e
commit
d2378637fa
@ -80,7 +80,8 @@ export default ['$rootScope', '$scope', 'GetBasePath', 'Rest', '$q', 'Wait', 'Pr
|
||||
};
|
||||
|
||||
scope.removeObject = function(obj){
|
||||
_.remove(scope.allSelected, {id: obj.id});
|
||||
let resourceType = scope.currentTab();
|
||||
delete scope.allSelected[resourceType][obj.id];
|
||||
obj.isSelected = false;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user