Switch Array.map() in favor of Array.forEach()

This commit is contained in:
Marliana Lara 2018-02-01 12:14:44 -05:00 committed by Matthew Jones
parent f9265ee329
commit d4a461e5b4
No known key found for this signature in database
GPG Key ID: 76A4C17A97590C1C

View File

@ -56,7 +56,7 @@ function InstanceListPolicyController ($scope, $state, strings) {
form.components
.filter(component => component.category === 'input')
.filter(component => component.state.id === 'policy_instance_list')
.map(component => {
.forEach(component => {
component.state._value = vm.selectedRows;
});