mirror of
https://github.com/ansible/awx.git
synced 2026-04-14 06:29:25 -02:30
Provide default values for help text labels
This commit is contained in:
@@ -37,8 +37,8 @@ export default ['Rest', 'Wait',
|
|||||||
callback: 'loadCredentialKindOptions'
|
callback: 'loadCredentialKindOptions'
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.inputs_help_text = options.actions.POST.inputs.help_text;
|
$scope.inputs_help_text = _.get(options, 'actions.POST.inputs.help_text', "Specification for credential type inputs");
|
||||||
$scope.injectors_help_text = options.actions.POST.injectors.help_text;
|
$scope.injectors_help_text = _.get(options, 'actions.POST.injectors.help_text', "Specification for credential type injector");
|
||||||
|
|
||||||
if (!options.actions.POST) {
|
if (!options.actions.POST) {
|
||||||
$state.go("^");
|
$state.go("^");
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ export default ['Rest', 'Wait',
|
|||||||
callback: 'choicesReadyCredentialTypes'
|
callback: 'choicesReadyCredentialTypes'
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.inputs_help_text = options.actions.POST.inputs.help_text;
|
$scope.inputs_help_text = _.get(options, 'actions.POST.inputs.help_text', "Specification for credential type inputs");
|
||||||
$scope.injectors_help_text = options.actions.POST.injectors.help_text;
|
$scope.injectors_help_text = _.get(options, 'actions.POST.injectors.help_text', "Specification for credential type injector");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user