diff --git a/awx/ui/client/src/notifications/add/add.controller.js b/awx/ui/client/src/notifications/add/add.controller.js index 3197dd310c..4f002cedbb 100644 --- a/awx/ui/client/src/notifications/add/add.controller.js +++ b/awx/ui/client/src/notifications/add/add.controller.js @@ -199,7 +199,7 @@ export default ['Rest', 'Wait', 'NotificationsFormObject', $scope[i] = null; } else { - $scope[i] = $scope[i].toString().split('\n'); + $scope[i] = $scope[i] ? $scope[i].toString().split('\n') : ""; } } if (field.type === 'checkbox') {