mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-03 06:31:49 -05:00
Cleaning up code from PR feedback
This commit is contained in:
@@ -39,7 +39,6 @@ export default
|
||||
for (i = 0; i < $scope.notification_type_options.length; i++) {
|
||||
if ($scope.notification_type_options[i].value === '') {
|
||||
$scope.notification_type_options[i].value="manual";
|
||||
// $scope.scm_type = $scope.scm_type_options[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -80,14 +79,6 @@ export default
|
||||
}
|
||||
}
|
||||
|
||||
// if ($scope.notification_type.value !== 'manual') {
|
||||
// $scope.pathRequired = false;
|
||||
// $scope.scmRequired = true;
|
||||
// } else {
|
||||
// $scope.pathRequired = true;
|
||||
// $scope.scmRequired = false;
|
||||
// }
|
||||
|
||||
master.notification_type = $scope.notification_type;
|
||||
CreateSelect2({
|
||||
element: '#notifier_notification_type',
|
||||
@@ -135,7 +126,6 @@ export default
|
||||
|
||||
$scope.formSave = function(){
|
||||
var params,
|
||||
// config,
|
||||
v = $scope.notification_type.value;
|
||||
|
||||
generator.clearApiErrors();
|
||||
|
||||
Reference in New Issue
Block a user