Commit 32c6ab95 authored by Bryce Johnson's avatar Bryce Johnson

Coerce triggered_by response into collection.

parent 8d470bff
...@@ -29,7 +29,8 @@ ...@@ -29,7 +29,8 @@
return this.pipeline.triggered || []; return this.pipeline.triggered || [];
}, },
triggeredBy() { triggeredBy() {
return this.pipeline.triggeredBy || []; const response = this.pipeline.triggered_by;
return response ? [ response ] : [];
}, },
hasTriggered() { hasTriggered() {
return !!this.triggered.length; return !!this.triggered.length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment