rerobe-js-orm 3.4.1 → 3.4.2

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.
@@ -695,7 +695,7 @@ class ProductFormState extends FormState_1.default {
695
695
  let onChangeHandler = (val) => this.multiSelectChangeHandler(fieldKey, val);
696
696
  if (fieldKey === 'productStyle') {
697
697
  options = this.setProductStylesFromPassedOptions(this.props.productCategory, this.props.productType);
698
- if (this.props.productStyle && this.props.productStyle.length > 0) {
698
+ if (this.props.productStyle && Array.isArray(this.props.productStyle) && this.props.productStyle.length > 0) {
699
699
  this.props.productStyle.forEach((productStyle) => {
700
700
  if (!options.map((o) => o.value).includes(productStyle)) {
701
701
  options.splice(0, 0, { label: productStyle, value: productStyle });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",