Clean up meas search a bit
This commit is contained in:
parent
62426cff9d
commit
a354ecd639
4 changed files with 7 additions and 15 deletions
|
@ -10,13 +10,6 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
|||
});
|
||||
},
|
||||
setupController: function(controller, models) {
|
||||
var tableAttrs = [
|
||||
{ name: 'Strain', attr: 'strain.strainName' },
|
||||
{ name: 'Characteristic', attr: 'characteristic.characteristicName' },
|
||||
{ name: 'Value', attr: 'computedValue'}
|
||||
];
|
||||
controller.set('tableAttrs', tableAttrs);
|
||||
controller.set('row', 'measurement-index-row');
|
||||
controller.set('measurements', []);
|
||||
|
||||
// Set up search parameters
|
||||
|
|
|
@ -28,4 +28,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{{measurement-search-table}}
|
||||
{{
|
||||
measurement-search-table
|
||||
selectedStrain=selectedStrain
|
||||
selectedCharacteristic=selectedCharacteristic
|
||||
}}
|
||||
|
|
Reference in a new issue