mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
Merge pull request #324 from mabashian/7265-permissions
Fixed bug removing item from allSelected when adding permissions
This commit is contained in:
@@ -80,7 +80,8 @@ export default ['$rootScope', '$scope', 'GetBasePath', 'Rest', '$q', 'Wait', 'Pr
|
|||||||
};
|
};
|
||||||
|
|
||||||
scope.removeObject = function(obj){
|
scope.removeObject = function(obj){
|
||||||
_.remove(scope.allSelected, {id: obj.id});
|
let resourceType = scope.currentTab();
|
||||||
|
delete scope.allSelected[resourceType][obj.id];
|
||||||
obj.isSelected = false;
|
obj.isSelected = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user