mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Run prettier
This commit is contained in:
@@ -257,7 +257,9 @@ function PromptDetail({
|
|||||||
numChips={5}
|
numChips={5}
|
||||||
ouiaId="prompt-job-tag-chips"
|
ouiaId="prompt-job-tag-chips"
|
||||||
totalChips={
|
totalChips={
|
||||||
overrides.job_tags === undefined || overrides.job_tags === null || overrides.job_tags === ''
|
overrides.job_tags === undefined ||
|
||||||
|
overrides.job_tags === null ||
|
||||||
|
overrides.job_tags === ''
|
||||||
? 0
|
? 0
|
||||||
: overrides.job_tags.split(',').length
|
: overrides.job_tags.split(',').length
|
||||||
}
|
}
|
||||||
@@ -287,7 +289,9 @@ function PromptDetail({
|
|||||||
<ChipGroup
|
<ChipGroup
|
||||||
numChips={5}
|
numChips={5}
|
||||||
totalChips={
|
totalChips={
|
||||||
overrides.skip_tags === undefined || overrides.skip_tags === null || overrides.skip_tags === ''
|
overrides.skip_tags === undefined ||
|
||||||
|
overrides.skip_tags === null ||
|
||||||
|
overrides.skip_tags === ''
|
||||||
? 0
|
? 0
|
||||||
: overrides.skip_tags.split(',').length
|
: overrides.skip_tags.split(',').length
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -201,10 +201,11 @@ function NodeViewModal({ readOnly }) {
|
|||||||
overrides.limit = originalNodeObject.limit;
|
overrides.limit = originalNodeObject.limit;
|
||||||
}
|
}
|
||||||
if (launchConfig.ask_verbosity_on_launch) {
|
if (launchConfig.ask_verbosity_on_launch) {
|
||||||
overrides.verbosity = originalNodeObject.verbosity !== undefined &&
|
overrides.verbosity =
|
||||||
originalNodeObject.verbosity !== null
|
originalNodeObject.verbosity !== undefined &&
|
||||||
? originalNodeObject.verbosity.toString()
|
originalNodeObject.verbosity !== null
|
||||||
: '0';
|
? originalNodeObject.verbosity.toString()
|
||||||
|
: '0';
|
||||||
}
|
}
|
||||||
if (launchConfig.ask_credential_on_launch) {
|
if (launchConfig.ask_credential_on_launch) {
|
||||||
overrides.credentials = originalNodeCredentials || [];
|
overrides.credentials = originalNodeCredentials || [];
|
||||||
|
|||||||
Reference in New Issue
Block a user