diff --git a/addon/adapters/warehouse-dock.js b/addon/adapters/warehouse-dock.js new file mode 100644 index 00000000..5728057c --- /dev/null +++ b/addon/adapters/warehouse-dock.js @@ -0,0 +1 @@ +export { default } from './pallet'; diff --git a/addon/components/cell/product-info.js b/addon/components/cell/product-info.js index d44a6d64..d593958b 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.row', 'args.column.{modelPath}') 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 c7cc5f3e..efe0434a 100644 --- a/addon/components/inventory-form-panel.hbs +++ b/addon/components/inventory-form-panel.hbs @@ -96,9 +96,6 @@ - -