import Ember from 'ember';

export default Ember.Component.extend({
  tagName: 'li',
  classNameBindings: ['build.state'],
  attributeBindings: ['title'],

  title: Ember.computed('build', function () {
    let num, state;
    num = this.get('build.number');
    state = this.get('build.state');
    return `Build #${num} ${state}`;
  })
});

@@ -285,24 +285,41 @@
 ld.state');%0A
+    if (num) %7B%0A  
     return %60
@@ -343,16 +343,52 @@
 tate%7D%60;%0A
+    %7D else %7B%0A      return '';%0A    %7D%0A
   %7D)%0A%7D);

Add guard against missing build information (#767)