@things-factory/product-ui 4.3.82 → 4.3.94-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -298,6 +298,7 @@ class ProductBundleLinkPopup extends localize(i18next)(LitElement) {
298
298
  records:
299
299
  items.map(itm => {
300
300
  return {
301
+ id: itm.id,
301
302
  productSku: itm.product.sku,
302
303
  productName: itm.product.name,
303
304
  productDescription: itm.product.description,
@@ -107,7 +107,7 @@ class ProductBundleList extends localize(i18next)(PageView) {
107
107
  ]
108
108
 
109
109
  this.productGristConfig = {
110
- pagination: { limit: 50, pages: [20, 50, 100, 500, 999] },
110
+ pagination: { limit: 50, pages: [50, 100, 200, 500] },
111
111
  list: { fields: ['sku', 'name', 'description', 'type', 'packingType'] },
112
112
  rows: {
113
113
  selectable: { multiple: true }
@@ -884,7 +884,7 @@ class ProductList extends localize(i18next)(PageView) {
884
884
  this.dataGrist.fetch()
885
885
  }
886
886
  } catch (error) {
887
- this.showToast(error)
887
+ this.showToast(error.message)
888
888
  }
889
889
  }
890
890
 
@@ -926,7 +926,7 @@ class ProductList extends localize(i18next)(PageView) {
926
926
  this.dataGrist.fetch()
927
927
  }
928
928
  } catch (error) {
929
- this.showToast(error)
929
+ this.showToast(error.message)
930
930
  }
931
931
  }
932
932
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/product-ui",
3
- "version": "4.3.82",
3
+ "version": "4.3.94-alpha.1",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,13 +24,13 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/form-ui": "^4.3.82",
28
- "@things-factory/grist-ui": "^4.3.82",
29
- "@things-factory/i18n-base": "^4.3.82",
30
- "@things-factory/import-ui": "^4.3.82",
31
- "@things-factory/layout-base": "^4.3.82",
32
- "@things-factory/product-base": "^4.3.82",
33
- "@things-factory/shell": "^4.3.82"
27
+ "@things-factory/form-ui": "^4.3.94-alpha.1",
28
+ "@things-factory/grist-ui": "^4.3.94-alpha.1",
29
+ "@things-factory/i18n-base": "^4.3.94-alpha.1",
30
+ "@things-factory/import-ui": "^4.3.94-alpha.1",
31
+ "@things-factory/layout-base": "^4.3.94-alpha.1",
32
+ "@things-factory/product-base": "^4.3.94-alpha.1",
33
+ "@things-factory/shell": "^4.3.94-alpha.1"
34
34
  },
35
- "gitHead": "fb0cb65bba75de2d2d0784202138d6d79dafa274"
35
+ "gitHead": "5c698043389882069b7b0ace294c29618f714463"
36
36
  }