diff --git a/awx/ui/client/src/notifications/edit/edit.controller.js b/awx/ui/client/src/notifications/edit/edit.controller.js index 0126416555..7e11d76245 100644 --- a/awx/ui/client/src/notifications/edit/edit.controller.js +++ b/awx/ui/client/src/notifications/edit/edit.controller.js @@ -94,7 +94,7 @@ export default ['Rest', 'Wait', if (form.fields[fld].name === 'headers') { $scope[fld] = JSON.stringify($scope[fld], null, 2); } else { - $scope[fld] = $scope[fld].toString().replace(/,/g, '\n'); + $scope[fld] = $scope[fld].join('\n'); } } }