@things-factory/product-ui 3.8.0 → 3.8.9

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.
@@ -912,7 +912,7 @@ class ProductList extends localize(i18next)(PageView) {
912
912
  if (_.isEmpty(itm.uom) || '') {
913
913
  if (!errors.find(err => err.type == 'uom')) errors.push({ type: 'uom', value: 'UOM is required' })
914
914
  }
915
- if (!_.isNumber(itm.uomValue) || _.isNaN(itm.uomValue) || '' || itm?.uomValue < 1) {
915
+ if (!_.isNumber(itm.uomValue) || _.isNaN(itm.uomValue) || '' || itm?.uomValue <= 0) {
916
916
  if (!errors.find(err => err.type == 'uomValue'))
917
917
  errors.push({ type: 'uomValue', value: 'UOM Value is required' })
918
918
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/product-ui",
3
- "version": "3.8.0",
3
+ "version": "3.8.9",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -29,8 +29,8 @@
29
29
  "@things-factory/i18n-base": "^3.8.0",
30
30
  "@things-factory/import-ui": "^3.8.0",
31
31
  "@things-factory/layout-base": "^3.8.0",
32
- "@things-factory/product-base": "^3.8.0",
32
+ "@things-factory/product-base": "^3.8.9",
33
33
  "@things-factory/shell": "^3.8.0"
34
34
  },
35
- "gitHead": "d3a61edb1a77732db20185aedc47b2cce6dd1f82"
35
+ "gitHead": "7a9270f0a733762814364529eb6c54f258a7417f"
36
36
  }