Skip to content

Commit

Permalink
fix: build errors in accordion
Browse files Browse the repository at this point in the history
- change test errors for valid or invalid
  • Loading branch information
mari1912 committed Jul 19, 2024
1 parent 72460a3 commit 32cb13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/routes/TreeDetails/TreeDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const TreeDetails = (): JSX.Element => {
date: value.start_time,
buildTime: value.duration,
compiler: value.compiler,
buildErrors: value.test_status?.error_tests ?? 0,
buildErrors: value.valid ? 0 : 1,
status: value.valid ? 'valid' : 'invalid',
testStatus: {
failTests: value.test_status?.fail_tests ?? 0,
Expand Down

0 comments on commit 32cb13a

Please sign in to comment.