mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 02:17:37 -02:30
Fixed bug removing item from allSelected
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