mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
update multi cred and prompt on launch modals to show net credential kinds
This commit is contained in:
parent
e1fadd0c8a
commit
adfe4ef92f
@ -264,7 +264,7 @@ export default
|
||||
$scope.credentialTypeOptions = [];
|
||||
credentialTypeData.results.forEach((credentialType => {
|
||||
credential_types[credentialType.id] = credentialType;
|
||||
if(credentialType.kind.match(/^(machine|cloud|network|ssh)$/)) {
|
||||
if(credentialType.kind.match(/^(machine|cloud|net|ssh)$/)) {
|
||||
$scope.credentialTypeOptions.push({
|
||||
name: credentialType.name,
|
||||
value: credentialType.id
|
||||
|
@ -45,7 +45,7 @@ export default ['templateUrl', 'Rest', 'GetBasePath', 'generateList', '$compile'
|
||||
credentialTypeData.results.forEach((credentialType => {
|
||||
credential_types[credentialType.id] = credentialType;
|
||||
if(credentialType.kind
|
||||
.match(/^(machine|cloud|network|ssh)$/)) {
|
||||
.match(/^(machine|cloud|net|ssh)$/)) {
|
||||
scope.credentialTypeOptions.push({
|
||||
name: credentialType.name,
|
||||
value: credentialType.id
|
||||
|
Loading…
Reference in New Issue
Block a user