11 lines
312 B
JavaScript
11 lines
312 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Controller.extend({
|
|
sortParams: ['fullNameMU', 'totalMeasurements'],
|
|
sortedStrains: Ember.computed.sort('model', 'sortParams'),
|
|
|
|
metaData: function() {
|
|
return Ember.copy(this.store.metadataFor('strain'));
|
|
}.property('model.isLoaded').readOnly(),
|
|
|
|
});
|