mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +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 = [];
|
$scope.credentialTypeOptions = [];
|
||||||
credentialTypeData.results.forEach((credentialType => {
|
credentialTypeData.results.forEach((credentialType => {
|
||||||
credential_types[credentialType.id] = 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({
|
$scope.credentialTypeOptions.push({
|
||||||
name: credentialType.name,
|
name: credentialType.name,
|
||||||
value: credentialType.id
|
value: credentialType.id
|
||||||
|
@ -45,7 +45,7 @@ export default ['templateUrl', 'Rest', 'GetBasePath', 'generateList', '$compile'
|
|||||||
credentialTypeData.results.forEach((credentialType => {
|
credentialTypeData.results.forEach((credentialType => {
|
||||||
credential_types[credentialType.id] = credentialType;
|
credential_types[credentialType.id] = credentialType;
|
||||||
if(credentialType.kind
|
if(credentialType.kind
|
||||||
.match(/^(machine|cloud|network|ssh)$/)) {
|
.match(/^(machine|cloud|net|ssh)$/)) {
|
||||||
scope.credentialTypeOptions.push({
|
scope.credentialTypeOptions.push({
|
||||||
name: credentialType.name,
|
name: credentialType.name,
|
||||||
value: credentialType.id
|
value: credentialType.id
|
||||||
|
Loading…
Reference in New Issue
Block a user