fix ui lint errors

This commit is contained in:
Keith Grant 2019-07-10 09:24:03 -07:00 committed by Jim Ladd
parent 885c5050a0
commit 191d18cec0
2 changed files with 16 additions and 16 deletions

View File

@ -10,7 +10,7 @@ export default ['Rest', 'Wait',
'notification_template',
'$scope', '$state', 'GetChoices', 'CreateSelect2', 'Empty',
'NotificationsTypeChange', 'ParseTypeChange', 'i18n',
'MessageUtils',
'MessageUtils', 'Alert',
function(
Rest, Wait,
NotificationsFormObject, ProcessErrors, GetBasePath,
@ -18,7 +18,7 @@ export default ['Rest', 'Wait',
notification_template,
$scope, $state, GetChoices, CreateSelect2, Empty,
NotificationsTypeChange, ParseTypeChange, i18n,
MessageUtils
MessageUtils, Alert
) {
var generator = GenerateForm,
id = notification_template.id,

View File

@ -6,22 +6,22 @@ export default [function () {
}
return {
started: {
message: $scope.started_message === defaultMessages.started.message
? null : $scope.started_message,
body: $scope.started_body === defaultMessages.started.body
? null : $scope.started_body,
message: $scope.started_message === defaultMessages.started.message ?
null : $scope.started_message,
body: $scope.started_body === defaultMessages.started.body ?
null : $scope.started_body,
},
success: {
message: $scope.success_message === defaultMessages.success.message
? null : $scope.success_message,
body: $scope.success_body === defaultMessages.success.body
? null : $scope.success_body,
message: $scope.success_message === defaultMessages.success.message ?
null : $scope.success_message,
body: $scope.success_body === defaultMessages.success.body ?
null : $scope.success_body,
},
error: {
message: $scope.error_message === defaultMessages.error.message
? null : $scope.error_message,
body: $scope.error_body === defaultMessages.error.body
? null : $scope.error_body,
message: $scope.error_message === defaultMessages.error.message ?
null : $scope.error_message,
body: $scope.error_body === defaultMessages.error.body ?
null : $scope.error_body,
}
};
},
@ -62,5 +62,5 @@ export default [function () {
}
$scope.customize_messages = customized;
}
}
}]
};
}];