summaryrefslogtreecommitdiff
path: root/web/src/containers/build/Console.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/containers/build/Console.jsx')
-rw-r--r--web/src/containers/build/Console.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/src/containers/build/Console.jsx b/web/src/containers/build/Console.jsx
index 97ac71947..01b308bfe 100644
--- a/web/src/containers/build/Console.jsx
+++ b/web/src/containers/build/Console.jsx
@@ -156,13 +156,13 @@ class HostTask extends React.Component {
constructor (props) {
super(props)
- const { host, task, taskPath, displayPath, errorIds } = this.props
+ const { host, taskPath, displayPath } = this.props
- if (errorIds.has(task.task.id)) {
+ if (host.failed) {
this.state.failed = true
} else if (host.changed) {
this.state.changed = true
- } else if (host.skip_reason) {
+ } else if (host.skipped) {
this.state.skipped = true
} else {
this.state.ok = true