From 686e5ac545657d726567bfce8c9b484b7f60896e Mon Sep 17 00:00:00 2001 From: kialam Date: Fri, 10 Aug 2018 13:33:43 -0400 Subject: [PATCH] Handle `extra vars` case for "Prompt" button in WF visualizer. --- .../workflows/workflow-maker/workflow-maker.controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/ui/client/src/templates/workflows/workflow-maker/workflow-maker.controller.js b/awx/ui/client/src/templates/workflows/workflow-maker/workflow-maker.controller.js index 0d0c1a817e..c344c91615 100644 --- a/awx/ui/client/src/templates/workflows/workflow-maker/workflow-maker.controller.js +++ b/awx/ui/client/src/templates/workflows/workflow-maker/workflow-maker.controller.js @@ -729,6 +729,7 @@ export default ['$scope', 'WorkflowService', 'GetBasePath', 'TemplatesService', !launchConf.ask_diff_mode_on_launch && !launchConf.survey_enabled && !launchConf.credential_needed_to_start && + !launchConf.ask_variables_on_launch && launchConf.variables_needed_to_start.length === 0) { $scope.showPromptButton = false; $scope.promptModalMissingReqFields = false; @@ -1073,6 +1074,7 @@ export default ['$scope', 'WorkflowService', 'GetBasePath', 'TemplatesService', !launchConf.ask_diff_mode_on_launch && !launchConf.survey_enabled && !launchConf.credential_needed_to_start && + !launchConf.ask_variables_on_launch && launchConf.variables_needed_to_start.length === 0) { $scope.showPromptButton = false; $scope.promptModalMissingReqFields = false;