For now just use ember-table (revisit this)

This commit is contained in:
Matthew Dillon 2015-06-15 15:24:37 -08:00
parent 97394d337e
commit 8276f8df57
6 changed files with 55 additions and 20 deletions

View file

@ -1,4 +1,5 @@
import DS from 'ember-data';
import Ember from 'ember';
export default DS.Model.extend({
measurements : DS.hasMany('measurements', { async: true }),
@ -27,6 +28,6 @@ export default DS.Model.extend({
}.property('species', 'strainName').readOnly(),
fullNameMU: function() {
return `<em>${this.get('species.speciesName')}</em> ${this.get('strainNameMU')}`;
return Ember.String.htmlSafe(`<em>${this.get('species.speciesName')}</em> ${this.get('strainNameMU')}`);
}.property('species', 'strainNameMU').readOnly(),
});