diff --git a/app/pods/protected/strains/show/measurements-table-row/component.js b/app/pods/protected/strains/show/measurements-table-row/component.js index d17a831..9c151fb 100644 --- a/app/pods/protected/strains/show/measurements-table-row/component.js +++ b/app/pods/protected/strains/show/measurements-table-row/component.js @@ -36,6 +36,10 @@ export default Ember.Component.extend({ }, delete: function() { + let char = this.get('row.characteristic'); + if (char.get('isNew')) { + char.destroyRecord(); + } this.get('row').destroyRecord(); }