mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Adds variables to track showing limit/job type/scm branch/verbosity fields in Prompted Values
This commit is contained in:
parent
a9288c82fc
commit
bb67d62d81
@ -172,17 +172,21 @@ function ScheduleDetail({ schedule, i18n }) {
|
||||
ask_skip_tags_on_launch && skip_tags && skip_tags.length > 0;
|
||||
const showDiffModeDetail =
|
||||
ask_diff_mode_on_launch && typeof diff_mode === 'boolean';
|
||||
const showLimitDetail = ask_limit_on_launch && limit;
|
||||
const showJobTypeDetail = ask_job_type_on_launch && job_type;
|
||||
const showSCMBranchDetail = ask_scm_branch_on_launch && scm_branch;
|
||||
const showVerbosityDetail = ask_verbosity_on_launch && VERBOSITY[verbosity];
|
||||
|
||||
const showPromptedFields =
|
||||
showCredentialsDetail ||
|
||||
showDiffModeDetail ||
|
||||
showInventoryDetail ||
|
||||
ask_job_type_on_launch ||
|
||||
ask_limit_on_launch ||
|
||||
ask_scm_branch_on_launch ||
|
||||
showJobTypeDetail ||
|
||||
showLimitDetail ||
|
||||
showSCMBranchDetail ||
|
||||
showSkipTagsDetail ||
|
||||
showTagsDetail ||
|
||||
ask_verbosity_on_launch ||
|
||||
showVerbosityDetail ||
|
||||
showVariablesDetail;
|
||||
|
||||
if (isLoading) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user