@movalib/movalib-commons 1.1.75 → 1.1.76
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.
|
@@ -214,7 +214,7 @@ var AccountValidation = function (_a) {
|
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
|
-
return ((0, jsx_runtime_1.jsxs)("div", { children: [(emptyPwd || smsValidation) &&
|
|
217
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [(emptyPwd || smsValidation || resetPassword) &&
|
|
218
218
|
(0, jsx_runtime_1.jsx)(MovaDialog_1.default, __assign({ leafImageColor: 'pink', titleStyle: getTitleStyle(), fullScreen: isMobile, open: emptyPwd || smsValidation, closable: false, onClose: function () {
|
|
219
219
|
throw new Error('Function not implemented.');
|
|
220
220
|
}, actions: (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, __assign({ type: "submit", onClick: handleValidateAccount, fullWidth: true, variant: "contained", sx: { mt: 4, mb: 0 } }, { children: resetPassword ? (0, jsx_runtime_1.jsx)("span", { children: "R\u00E9initialiser mon mot de passe" }) : (0, jsx_runtime_1.jsx)("span", { children: "Activer mon compte" }) })) }, { children: (0, jsx_runtime_1.jsxs)(material_1.Grid, __assign({ container: true }, { children: [(0, jsx_runtime_1.jsx)(material_1.Grid, __assign({ item: true, xs: 12 }, { children: (0, jsx_runtime_1.jsxs)(material_1.Box, __assign({ sx: {
|
package/package.json
CHANGED
|
@@ -252,7 +252,7 @@ const AccountValidation: FunctionComponent<AccountValidationProps> = ({ movaAppT
|
|
|
252
252
|
|
|
253
253
|
return (
|
|
254
254
|
<div>
|
|
255
|
-
{(emptyPwd || smsValidation) &&
|
|
255
|
+
{(emptyPwd || smsValidation || resetPassword) &&
|
|
256
256
|
<MovaDialog
|
|
257
257
|
leafImageColor='pink'
|
|
258
258
|
titleStyle={getTitleStyle()}
|