mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Switch Array.map() in favor of Array.forEach()
This commit is contained in:
committed by
Matthew Jones
parent
f9265ee329
commit
d4a461e5b4
@@ -56,7 +56,7 @@ function InstanceListPolicyController ($scope, $state, strings) {
|
|||||||
form.components
|
form.components
|
||||||
.filter(component => component.category === 'input')
|
.filter(component => component.category === 'input')
|
||||||
.filter(component => component.state.id === 'policy_instance_list')
|
.filter(component => component.state.id === 'policy_instance_list')
|
||||||
.map(component => {
|
.forEach(component => {
|
||||||
component.state._value = vm.selectedRows;
|
component.state._value = vm.selectedRows;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user