mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Merge pull request #324 from mabashian/7265-permissions
Fixed bug removing item from allSelected when adding permissions
This commit is contained in:
commit
dbc95b39b7
@ -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…
x
Reference in New Issue
Block a user