Pārlūkot izejas kodu

123684 fix button

soumaeda 2 gadi atpakaļ
vecāks
revīzija
807102a1aa

+ 0 - 14
apps/app/src/components/Admin/Users/PasswordResetModal.jsx

@@ -40,20 +40,6 @@ class PasswordResetModal extends React.Component {
     toastSuccess('Copied Password');
   }
 
-  renderButtons() {
-    const { t, isMailerSetup } = this.props;
-
-    return (
-      <>
-        <button type="submit" className="btn btn-primary" onClick={this.onClickSendNewPasswordButton} disabled={!isMailerSetup}>
-          {t('Send')}
-        </button>
-        <button type="submit" className="btn btn-danger" onClick={this.props.onClose}>
-          {t('Close')}
-        </button>
-      </>
-    );
-  }
 
   renderModalBodyBeforeReset() {
     const { t, userForPasswordResetModal } = this.props;