mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
Make sure that that the type also matches up before setting isSelected to true on a particular row
This commit is contained in:
@@ -122,7 +122,7 @@ export default ['addPermissionsTeamsList', 'addPermissionsUsersList', 'TemplateL
|
|||||||
});
|
});
|
||||||
|
|
||||||
function isSelected(item){
|
function isSelected(item){
|
||||||
if(_.find(scope.allSelected, {id: item.id})){
|
if(_.find(scope.allSelected, {id: item.id, type: item.type})){
|
||||||
item.isSelected = true;
|
item.isSelected = true;
|
||||||
}
|
}
|
||||||
return item;
|
return item;
|
||||||
|
|||||||
Reference in New Issue
Block a user