#55, species
This commit is contained in:
parent
075ef0aaa1
commit
62e651b597
3 changed files with 2 additions and 7 deletions
|
@ -17,9 +17,4 @@ export default Model.extend({
|
|||
updatedBy : attr('number'),
|
||||
sortOrder : attr('number'),
|
||||
canEdit : attr('boolean'),
|
||||
|
||||
// TODO: move this to component/helper
|
||||
speciesNameMU: function() {
|
||||
return Ember.String.htmlSafe(`<em>${this.get('speciesName')}</em>`);
|
||||
}.property('speciesName').readOnly(),
|
||||
});
|
||||
|
|
|
@ -31,6 +31,6 @@ export default Model.extend({
|
|||
// TODO: move this to component/helper
|
||||
// Can't move until Select2 refactor
|
||||
fullNameMU: function() {
|
||||
return Ember.String.htmlSafe(`<em>${this.get('species.speciesName')}</em> ${this.get('strainNameMU')}`);
|
||||
return Ember.String.htmlSafe(`<em>${this.get('species.speciesName')}</em> ${this.get('strainName')}`);
|
||||
}.property('species', 'strainNameMU').readOnly(),
|
||||
});
|
||||
|
|
Reference in a new issue