diff --git a/awx/ui/client/src/notifications/edit/edit.controller.js b/awx/ui/client/src/notifications/edit/edit.controller.js index b9b9bd0dc2..68748b0698 100644 --- a/awx/ui/client/src/notifications/edit/edit.controller.js +++ b/awx/ui/client/src/notifications/edit/edit.controller.js @@ -330,7 +330,7 @@ export default ['Rest', 'Wait', const isUsernameIncluded = ( $scope.notification_type.value === 'email' || $scope.notification_type.value === 'webhook' - ) + ); if (i === "username" && isUsernameIncluded && (value === null || value === undefined)) { $scope[i] = "";