mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Removed erroneous credential basepath line
This commit is contained in:
@@ -130,10 +130,6 @@ export default ['$state', '$stateParams', '$scope', 'SourcesFormDefinition',
|
|||||||
|
|
||||||
$scope.credentialBasePath = GetBasePath('credentials') + '?credential_type__kind__in=cloud,network';
|
$scope.credentialBasePath = GetBasePath('credentials') + '?credential_type__kind__in=cloud,network';
|
||||||
|
|
||||||
if (source === 'custom'){
|
|
||||||
$scope.credentialBasePath = GetBasePath('inventory_script');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (source === 'ec2' || source === 'custom' || source === 'vmware' || source === 'openstack' || source === 'scm') {
|
if (source === 'ec2' || source === 'custom' || source === 'vmware' || source === 'openstack' || source === 'scm') {
|
||||||
$scope.envParseType = 'yaml';
|
$scope.envParseType = 'yaml';
|
||||||
|
|
||||||
|
|||||||
@@ -349,10 +349,6 @@ export default ['$state', '$stateParams', '$scope', 'ParseVariableString',
|
|||||||
|
|
||||||
$scope.credentialBasePath = GetBasePath('credentials') + '?credential_type__kind__in=cloud,network';
|
$scope.credentialBasePath = GetBasePath('credentials') + '?credential_type__kind__in=cloud,network';
|
||||||
|
|
||||||
if (source === 'custom'){
|
|
||||||
$scope.credentialBasePath = GetBasePath('inventory_script');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (source === 'ec2' || source === 'custom' || source === 'vmware' || source === 'openstack' || source === 'scm') {
|
if (source === 'ec2' || source === 'custom' || source === 'vmware' || source === 'openstack' || source === 'scm') {
|
||||||
$scope.envParseType = 'yaml';
|
$scope.envParseType = 'yaml';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user