@movalib/movalib-commons 1.1.61 → 1.1.62
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.
|
@@ -138,7 +138,7 @@ var AccountValidation = function (_a) {
|
|
|
138
138
|
movaAppType === Enums_1.MovaAppType.ADMIN ? logo_large_png_1.default : logo_large_png_1.default;
|
|
139
139
|
};
|
|
140
140
|
return ((0, jsx_runtime_1.jsxs)("div", { children: [(emptyPwd || smsValidation) &&
|
|
141
|
-
(0, jsx_runtime_1.jsx)(MovaDialog_1.default, __assign({ leafImageColor: 'pink', titleStyle: getTitleStyle(), fullScreen: isMobile, open: emptyPwd, closable: false, onClose: function () {
|
|
141
|
+
(0, jsx_runtime_1.jsx)(MovaDialog_1.default, __assign({ leafImageColor: 'pink', titleStyle: getTitleStyle(), fullScreen: isMobile, open: emptyPwd || smsValidation, closable: false, onClose: function () {
|
|
142
142
|
throw new Error('Function not implemented.');
|
|
143
143
|
}, actions: (0, jsx_runtime_1.jsx)(lab_1.LoadingButton, __assign({ type: "submit", onClick: handleValidateAccount, fullWidth: true, variant: "contained", sx: { mt: 4, mb: 0 } }, { children: (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: {
|
|
144
144
|
display: 'flex',
|
package/package.json
CHANGED
|
@@ -166,7 +166,7 @@ const AccountValidation: FunctionComponent<AccountValidationProps> = ({ movaAppT
|
|
|
166
166
|
leafImageColor='pink'
|
|
167
167
|
titleStyle={getTitleStyle()}
|
|
168
168
|
fullScreen={isMobile}
|
|
169
|
-
open={emptyPwd}
|
|
169
|
+
open={emptyPwd || smsValidation}
|
|
170
170
|
closable={false}
|
|
171
171
|
onClose={function (): void {
|
|
172
172
|
throw new Error('Function not implemented.');
|