From 5468624df548e7b8a2c5bd7a3579cdb77c95eedb Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Tue, 13 Aug 2019 11:12:12 -0700 Subject: [PATCH] fix ui lint errors --- .../src/notifications/shared/message-utils.service.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; }