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