Fix characteristic naming to measurement
This commit is contained in:
parent
658304f728
commit
0956ef3a25
7 changed files with 12 additions and 12 deletions
|
@ -54,7 +54,7 @@ export default Controller.extend({
|
|||
}
|
||||
},
|
||||
|
||||
addCharacteristic: function() {
|
||||
addMeasurement: function() {
|
||||
return this.store.createRecord('measurement', {
|
||||
characteristic: this.store.createRecord('characteristic', { sortOrder: -999 }),
|
||||
});
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
protected/strains/strain-form
|
||||
strain=model
|
||||
speciesList=speciesList
|
||||
add-characteristic=(action "addCharacteristic")
|
||||
add-measurement=(action "addMeasurement")
|
||||
allCharacteristics=allCharacteristics
|
||||
on-save=(action "save")
|
||||
on-cancel=(action "cancel")
|
||||
|
|
Reference in a new issue