mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 15:36:04 -03:30
handle null inventory value on workflow launch
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user