From bc2f1fa670c5c781356081af17af9c06c9c974ef Mon Sep 17 00:00:00 2001 From: Vladislav Makhov Date: Mon, 6 Jul 2020 18:08:47 +0300 Subject: [PATCH] add mock on send recover --- .../Layout/sub-components/recover-modal-dialog.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/ASC.Web.Common/src/components/Layout/sub-components/recover-modal-dialog.js b/web/ASC.Web.Common/src/components/Layout/sub-components/recover-modal-dialog.js index 5191f26993..7fdc9119d6 100644 --- a/web/ASC.Web.Common/src/components/Layout/sub-components/recover-modal-dialog.js +++ b/web/ASC.Web.Common/src/components/Layout/sub-components/recover-modal-dialog.js @@ -4,6 +4,10 @@ import { Button, TextInput, Text, ModalDialog, Textarea } from "asc-web-componen const SubModalDialog = ({ visible, onRecoverModalClose, t }) => { + const onSendRecoverInstructions = () => { + alert("Send button clicked") + } + return ( { size="big" scale={false} primary={true} - //onClick={onSendPasswordInstructions} + onClick={onSendRecoverInstructions} //isLoading={isLoading} //isDisabled={isLoading} tabIndex={2}