diff --git a/dashboard/src/components/Tabs/TreeDetails/TreeDetailsBuildTab.tsx b/dashboard/src/components/Tabs/TreeDetails/TreeDetailsBuildTab.tsx index f578c80..f21a652 100644 --- a/dashboard/src/components/Tabs/TreeDetails/TreeDetailsBuildTab.tsx +++ b/dashboard/src/components/Tabs/TreeDetails/TreeDetailsBuildTab.tsx @@ -157,7 +157,7 @@ const TreeDetailsBuildTab = ({ { 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,