mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 16:58:46 -03:30
update multi cred and prompt on launch modals to show net credential kinds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user