Don't render messed up builds
This commit is contained in:
parent
92e66a470d
commit
8f154d1cbf
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ export default class BuildList extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
renderRow(build) {
|
renderRow(build) {
|
||||||
|
if (build.build_time_millis < 1) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
const statusColour = build.status === 'failed' ?
|
const statusColour = build.status === 'failed' ?
|
||||||
GlobalStyles.get('CIRCLE_TEST_FAIL') :
|
GlobalStyles.get('CIRCLE_TEST_FAIL') :
|
||||||
GlobalStyles.get('CIRCLE_TEST_PASS');
|
GlobalStyles.get('CIRCLE_TEST_PASS');
|
||||||
|
|
Reference in a new issue