ywana-core8 0.1.36 → 0.1.38
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 +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/widgets/login/actions.js +3 -4
package/dist/index.modern.js
CHANGED
@@ -2571,7 +2571,6 @@ var ForgetUserPasswordAction = function ForgetUserPasswordAction(props) {
|
|
2571
2571
|
var _temp = _catch$7(function () {
|
2572
2572
|
var email = user.email;
|
2573
2573
|
return Promise.resolve(onOK(email)).then(function () {
|
2574
|
-
if (onSuccess) onSuccess();
|
2575
2574
|
site.notify({
|
2576
2575
|
title: /*#__PURE__*/React.createElement(Text$1, null, "Forgot Password"),
|
2577
2576
|
body: /*#__PURE__*/React.createElement(Text$1, null, "Check your email to reset your password"),
|
@@ -2580,7 +2579,7 @@ var ForgetUserPasswordAction = function ForgetUserPasswordAction(props) {
|
|
2580
2579
|
});
|
2581
2580
|
}, function (error) {
|
2582
2581
|
site.notify({
|
2583
|
-
title: "
|
2582
|
+
title: "Errorrrrr",
|
2584
2583
|
body: error.message,
|
2585
2584
|
type: "danger",
|
2586
2585
|
icon: "error"
|
@@ -2598,8 +2597,7 @@ var ForgetUserPasswordAction = function ForgetUserPasswordAction(props) {
|
|
2598
2597
|
icon = _props$icon === void 0 ? false : _props$icon,
|
2599
2598
|
_props$label = props.label,
|
2600
2599
|
label = _props$label === void 0 ? "Reset Password" : _props$label,
|
2601
|
-
onOK = props.onOK
|
2602
|
-
onSuccess = props.onSuccess;
|
2600
|
+
onOK = props.onOK;
|
2603
2601
|
return icon ? /*#__PURE__*/React.createElement(Icon, {
|
2604
2602
|
icon: "mail_lock",
|
2605
2603
|
clickable: true,
|