From d2aea30d3db6d78daeed48a1bde78607751c7aeb Mon Sep 17 00:00:00 2001 From: mabashian Date: Thu, 16 Aug 2018 15:40:40 -0400 Subject: [PATCH] Add check for ask_variables_on_launch when determining whether to show prompt button --- .../workflows/workflow-maker/workflow-maker.controller.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 eda3f6f3a2..7090e0f870 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 @@ -652,8 +652,8 @@ export default ['$scope', 'WorkflowService', 'GetBasePath', 'TemplatesService', !launchConf.ask_tags_on_launch && !launchConf.ask_skip_tags_on_launch && !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; @@ -752,7 +752,6 @@ export default ['$scope', 'WorkflowService', 'GetBasePath', 'TemplatesService', !launchConf.ask_tags_on_launch && !launchConf.ask_skip_tags_on_launch && !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) { @@ -1097,7 +1096,6 @@ export default ['$scope', 'WorkflowService', 'GetBasePath', 'TemplatesService', !launchConf.ask_tags_on_launch && !launchConf.ask_skip_tags_on_launch && !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) {