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.umd.js
CHANGED
@@ -2573,7 +2573,6 @@
|
|
2573
2573
|
var _temp = _catch$7(function () {
|
2574
2574
|
var email = user.email;
|
2575
2575
|
return Promise.resolve(onOK(email)).then(function () {
|
2576
|
-
if (onSuccess) onSuccess();
|
2577
2576
|
site.notify({
|
2578
2577
|
title: /*#__PURE__*/React__default["default"].createElement(Text$1, null, "Forgot Password"),
|
2579
2578
|
body: /*#__PURE__*/React__default["default"].createElement(Text$1, null, "Check your email to reset your password"),
|
@@ -2582,7 +2581,7 @@
|
|
2582
2581
|
});
|
2583
2582
|
}, function (error) {
|
2584
2583
|
site.notify({
|
2585
|
-
title: "
|
2584
|
+
title: "Errorrrrr",
|
2586
2585
|
body: error.message,
|
2587
2586
|
type: "danger",
|
2588
2587
|
icon: "error"
|
@@ -2600,8 +2599,7 @@
|
|
2600
2599
|
icon = _props$icon === void 0 ? false : _props$icon,
|
2601
2600
|
_props$label = props.label,
|
2602
2601
|
label = _props$label === void 0 ? "Reset Password" : _props$label,
|
2603
|
-
onOK = props.onOK
|
2604
|
-
onSuccess = props.onSuccess;
|
2602
|
+
onOK = props.onOK;
|
2605
2603
|
return icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
2606
2604
|
icon: "mail_lock",
|
2607
2605
|
clickable: true,
|