fix ui lint errors

This commit is contained in:
Keith Grant
2019-08-13 11:12:12 -07:00
committed by Jim Ladd
parent 15e6117472
commit 5468624df5

View File

@@ -12,7 +12,7 @@ const emptyDefaults = {
message: '', message: '',
body: '', body: '',
}, },
} };
export default [function() { export default [function() {
return { return {
@@ -87,7 +87,11 @@ export default [function() {
$scope.customize_messages = isCustomized; $scope.customize_messages = isCustomized;
}, },
updateDefaultsOnScope: function($scope, oldDefaults = emptyDefaults, newDefaults) { updateDefaultsOnScope: function(
$scope,
oldDefaults = emptyDefaults,
newDefaults = emptyDefaults
) {
if ($scope.started_message === oldDefaults.started.message) { if ($scope.started_message === oldDefaults.started.message) {
$scope.started_message = newDefaults.started.message; $scope.started_message = newDefaults.started.message;
} }