mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
handle null inventory value on workflow launch
This commit is contained in:
parent
2bc75270e7
commit
13e715aeb9
@ -151,7 +151,7 @@ function PromptService (Empty, $filter) {
|
||||
if (promptData.launchConf.ask_verbosity_on_launch && _.has(promptData, 'prompts.verbosity.value.value')) {
|
||||
launchData.verbosity = promptData.prompts.verbosity.value.value;
|
||||
}
|
||||
if (promptData.launchConf.ask_inventory_on_launch && !Empty(promptData.prompts.inventory.value.id)){
|
||||
if (promptData.launchConf.ask_inventory_on_launch && _.has(promptData, 'prompts.inventory.value.id')) {
|
||||
launchData.inventory_id = promptData.prompts.inventory.value.id;
|
||||
}
|
||||
if (promptData.launchConf.ask_credential_on_launch){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user