diff --git a/awx/ui/client/src/notifications/shared/message-utils.service.js b/awx/ui/client/src/notifications/shared/message-utils.service.js index fff8de847b..48711e5faf 100644 --- a/awx/ui/client/src/notifications/shared/message-utils.service.js +++ b/awx/ui/client/src/notifications/shared/message-utils.service.js @@ -12,7 +12,7 @@ const emptyDefaults = { message: '', body: '', }, -} +}; export default [function() { return { @@ -87,7 +87,11 @@ export default [function() { $scope.customize_messages = isCustomized; }, - updateDefaultsOnScope: function($scope, oldDefaults = emptyDefaults, newDefaults) { + updateDefaultsOnScope: function( + $scope, + oldDefaults = emptyDefaults, + newDefaults = emptyDefaults + ) { if ($scope.started_message === oldDefaults.started.message) { $scope.started_message = newDefaults.started.message; }