mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Merge pull request #1332 from mabashian/1318-workflow-template-survey
Fixed bug launching workflow with survey
This commit is contained in:
commit
4158d64410
@ -68,6 +68,7 @@ export default [ 'Rest', 'GetBasePath', 'ProcessErrors', 'CredentialTypeModel',
|
|||||||
|
|
||||||
vm.promptData.prompts.credentials.passwords = {};
|
vm.promptData.prompts.credentials.passwords = {};
|
||||||
|
|
||||||
|
if(vm.promptData.launchConf.passwords_needed_to_start) {
|
||||||
vm.promptData.launchConf.passwords_needed_to_start.forEach((passwordNeeded) => {
|
vm.promptData.launchConf.passwords_needed_to_start.forEach((passwordNeeded) => {
|
||||||
if(passwordNeeded === "ssh_password") {
|
if(passwordNeeded === "ssh_password") {
|
||||||
vm.promptData.prompts.credentials.passwords.ssh = {};
|
vm.promptData.prompts.credentials.passwords.ssh = {};
|
||||||
@ -93,6 +94,7 @@ export default [ 'Rest', 'GetBasePath', 'ProcessErrors', 'CredentialTypeModel',
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
vm.promptData.credentialTypeMissing = [];
|
vm.promptData.credentialTypeMissing = [];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user