Skip to content

Commit

Permalink
Merge pull request #347 from FedericoPonzi/hide-undefined
Browse files Browse the repository at this point in the history
Hides undefined from check result view for stopped state
  • Loading branch information
FedericoPonzi authored Oct 24, 2024
2 parents 061e707 + 7d63c61 commit 220a265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webview/checkResultView/headerSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const HeaderSection = React.memo(({checkResult}: HeaderSectionI) => {
<span hidden={checkResult.state !== 'R'}>
(<VSCodeLink onClick={vscode.stopProcess} href="#"> stop </VSCodeLink>)
</span>
<span hidden={checkResult.statusDetails === null}> :{' ' + checkResult.statusDetails} </span>
<span hidden={ checkResult.statusDetails === undefined || checkResult.statusDetails === null}>: {' ' + checkResult.statusDetails} </span>

Check warning on line 37 in src/webview/checkResultView/headerSection/index.tsx

View workflow job for this annotation

GitHub Actions / build (macOS-latest)

This line has a length of 153. Maximum allowed is 120

Check warning on line 37 in src/webview/checkResultView/headerSection/index.tsx

View workflow job for this annotation

GitHub Actions / build (ubuntu-20.04)

This line has a length of 153. Maximum allowed is 120

Check warning on line 37 in src/webview/checkResultView/headerSection/index.tsx

View workflow job for this annotation

GitHub Actions / build (windows-latest)

This line has a length of 153. Maximum allowed is 120

Check warning on line 37 in src/webview/checkResultView/headerSection/index.tsx

View workflow job for this annotation

GitHub Actions / build

This line has a length of 153. Maximum allowed is 120

Check warning on line 37 in src/webview/checkResultView/headerSection/index.tsx

View workflow job for this annotation

GitHub Actions / build

This line has a length of 153. Maximum allowed is 120

Check warning on line 37 in src/webview/checkResultView/headerSection/index.tsx

View workflow job for this annotation

GitHub Actions / build

This line has a length of 153. Maximum allowed is 120

Check warning on line 37 in src/webview/checkResultView/headerSection/index.tsx

View workflow job for this annotation

GitHub Actions / build

This line has a length of 153. Maximum allowed is 120
</div>

<div className="timeInfo"> Start: {checkResult.startDateTimeStr}, end: {checkResult.endDateTimeStr} </div>
Expand Down

0 comments on commit 220a265

Please sign in to comment.