Skip to content

Commit

Permalink
Attempt to fix stale statusMessage (#374)
Browse files Browse the repository at this point in the history
* bind `statusMessage`

* use `statusMessage` directly
  • Loading branch information
DekusDenial committed Nov 14, 2018
1 parent 370e221 commit 8581d49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/pipeline/build/controller.js
Expand Up @@ -13,6 +13,7 @@ export default Controller.extend({
loading: false,
counter: 0,
build: reads('model.build'),
statusMessage: reads('model.build.statusMessage'),
jobs: reads('model.jobs'),
job: reads('model.job'),
event: reads('model.event'),
Expand Down
4 changes: 2 additions & 2 deletions app/pipeline/build/template.hbs
Expand Up @@ -27,8 +27,8 @@
{{/if}}

{{info-message message=errorMessage type="warning" icon="exclamation-triangle"}}
{{#if build.statusMessage}}
{{info-message message=build.statusMessage type="warning" icon="exclamation-triangle"}}
{{#if statusMessage}}
{{info-message message=statusMessage type="warning" icon="exclamation-triangle"}}
{{/if}}

{{#if stepList}}
Expand Down

0 comments on commit 8581d49

Please sign in to comment.