Stop loading chars in measurements-table
This commit is contained in:
parent
fbfbdf19d1
commit
ba15af411e
8 changed files with 9 additions and 10 deletions
|
@ -12,6 +12,7 @@ export default Route.extend(ElevatedAccess, {
|
|||
return Ember.RSVP.hash({
|
||||
strain: this.store.findRecord('strain', params.strain_id),
|
||||
species: this.store.findAll('species'), // Need for dropdown
|
||||
characteristics: this.store.findAll('characteristic'), // Need for dropdown
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -26,6 +27,7 @@ export default Route.extend(ElevatedAccess, {
|
|||
setupController: function(controller, models) {
|
||||
controller.set('model', models.strain);
|
||||
controller.set('speciesList', models.species);
|
||||
controller.set('allCharacteristics', models.characteristics);
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
|
Reference in a new issue