mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 15:36:04 -03:30
join array of emails using '\n' when displaying
* Don't ASSume user email addresses don't contain , * Allows email addresses to contain ,
This commit is contained in:
@@ -94,7 +94,7 @@ export default ['Rest', 'Wait',
|
|||||||
if (form.fields[fld].name === 'headers') {
|
if (form.fields[fld].name === 'headers') {
|
||||||
$scope[fld] = JSON.stringify($scope[fld], null, 2);
|
$scope[fld] = JSON.stringify($scope[fld], null, 2);
|
||||||
} else {
|
} else {
|
||||||
$scope[fld] = $scope[fld].toString().replace(/,/g, '\n');
|
$scope[fld] = $scope[fld].join('\n');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user