mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
Adds variables to track showing limit/job type/scm branch/verbosity fields in Prompted Values
This commit is contained in:
@@ -172,17 +172,21 @@ function ScheduleDetail({ schedule, i18n }) {
|
|||||||
ask_skip_tags_on_launch && skip_tags && skip_tags.length > 0;
|
ask_skip_tags_on_launch && skip_tags && skip_tags.length > 0;
|
||||||
const showDiffModeDetail =
|
const showDiffModeDetail =
|
||||||
ask_diff_mode_on_launch && typeof diff_mode === 'boolean';
|
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 =
|
const showPromptedFields =
|
||||||
showCredentialsDetail ||
|
showCredentialsDetail ||
|
||||||
showDiffModeDetail ||
|
showDiffModeDetail ||
|
||||||
showInventoryDetail ||
|
showInventoryDetail ||
|
||||||
ask_job_type_on_launch ||
|
showJobTypeDetail ||
|
||||||
ask_limit_on_launch ||
|
showLimitDetail ||
|
||||||
ask_scm_branch_on_launch ||
|
showSCMBranchDetail ||
|
||||||
showSkipTagsDetail ||
|
showSkipTagsDetail ||
|
||||||
showTagsDetail ||
|
showTagsDetail ||
|
||||||
ask_verbosity_on_launch ||
|
showVerbosityDetail ||
|
||||||
showVariablesDetail;
|
showVariablesDetail;
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
|
|||||||
Reference in New Issue
Block a user