mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 22:16:00 -03:30
fix ui lint errors
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user