diff --git a/addon/components/cell/product-info.js b/addon/components/cell/product-info.js index 7cb945af..d44a6d64 100644 --- a/addon/components/cell/product-info.js +++ b/addon/components/cell/product-info.js @@ -2,14 +2,14 @@ import Component from '@glimmer/component'; import { action, computed, get } from '@ember/object'; export default class CellProductInfoComponent extends Component { - @computed('args.{column.modelPath,row}') get product() { + @computed('args.row', 'args.column.{modelPath}') get product() { const { column, row } = this.args; if (typeof column?.modelPath === 'string') { return get(row, column.modelPath); } - return row; + return row } @action onClick(event) { diff --git a/addon/components/inventory-form-panel.hbs b/addon/components/inventory-form-panel.hbs index 02488c3f..c7cc5f3e 100644 --- a/addon/components/inventory-form-panel.hbs +++ b/addon/components/inventory-form-panel.hbs @@ -46,21 +46,6 @@ {{model.name}} - - - {{model.name}} - - -