@pelcro/react-pelcro-js 3.11.0-beta.4 → 3.11.0-beta.5

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.
package/dist/index.cjs.js CHANGED
@@ -12987,6 +12987,10 @@ class SelectModal extends React.Component {
12987
12987
  });
12988
12988
  }
12989
12989
 
12990
+ if (this.state.productList.length === 0 && !window.Pelcro.user.isAuthenticated()) {
12991
+ this.props.setView('register');
12992
+ }
12993
+
12990
12994
  document.addEventListener("keydown", this.handleSubmit);
12991
12995
  });
12992
12996
 
package/dist/index.esm.js CHANGED
@@ -12957,6 +12957,10 @@ class SelectModal extends Component {
12957
12957
  });
12958
12958
  }
12959
12959
 
12960
+ if (this.state.productList.length === 0 && !window.Pelcro.user.isAuthenticated()) {
12961
+ this.props.setView('register');
12962
+ }
12963
+
12960
12964
  document.addEventListener("keydown", this.handleSubmit);
12961
12965
  });
12962
12966
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.11.0-beta.4",
4
+ "version": "3.11.0-beta.5",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",