@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 +4 -0
- package/dist/index.esm.js +4 -0
- package/package.json +1 -1
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
|
|