Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mabashian authored and dmzoneill committed Feb 19, 2024
1 parent 46f4891 commit f240e64
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
8 changes: 6 additions & 2 deletions awx/ui/src/components/PromptDetail/PromptDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ function PromptDetail({
numChips={5}
ouiaId="prompt-job-tag-chips"
totalChips={
overrides.job_tags === undefined || overrides.job_tags === null || overrides.job_tags === ''
overrides.job_tags === undefined ||
overrides.job_tags === null ||
overrides.job_tags === ''
? 0
: overrides.job_tags.split(',').length
}
Expand Down Expand Up @@ -287,7 +289,9 @@ function PromptDetail({
<ChipGroup
numChips={5}
totalChips={
overrides.skip_tags === undefined || overrides.skip_tags === null || overrides.skip_tags === ''
overrides.skip_tags === undefined ||
overrides.skip_tags === null ||
overrides.skip_tags === ''
? 0
: overrides.skip_tags.split(',').length
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,11 @@ function NodeViewModal({ readOnly }) {
overrides.limit = originalNodeObject.limit;
}
if (launchConfig.ask_verbosity_on_launch) {
overrides.verbosity = originalNodeObject.verbosity !== undefined &&
originalNodeObject.verbosity !== null
? originalNodeObject.verbosity.toString()
: '0';
overrides.verbosity =
originalNodeObject.verbosity !== undefined &&
originalNodeObject.verbosity !== null
? originalNodeObject.verbosity.toString()
: '0';
}
if (launchConfig.ask_credential_on_launch) {
overrides.credentials = originalNodeCredentials || [];
Expand Down

0 comments on commit f240e64

Please sign in to comment.