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