Merge pull request #2821 from kialam/fix/2797

Fix missing Prompt button for Extra Vars in WF Visualizer
This commit is contained in:
kialam 2018-08-10 11:06:43 -07:00 committed by GitHub
commit 49222d5e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;