This commit is contained in:
Belen Curcio
2018-05-04 17:49:40 -03:00
parent 910beb0f40
commit 4312b8d024
@@ -160,7 +160,7 @@ class ChangePassword extends React.Component {
};
render() {
const { editing, errors } = this.state;
const { editing, errors, showErrors } = this.state;
return (
<section
@@ -189,7 +189,7 @@ class ChangePassword extends React.Component {
value={this.state.formData.oldPassword}
hasError={this.hasError('oldPassword')}
errorMsg={errors['oldPassword']}
showErrors
showError={showErrors}
>
<span className={styles.detailBottomBox}>
<a
@@ -209,7 +209,7 @@ class ChangePassword extends React.Component {
value={this.state.formData.newPassword}
hasError={this.hasError('newPassword')}
errorMsg={errors['newPassword']}
showErrors
showError={showErrors}
/>
<InputField
id="confirmNewPassword"
@@ -220,7 +220,7 @@ class ChangePassword extends React.Component {
value={this.state.formData.confirmNewPassword}
hasError={this.hasError('confirmNewPassword')}
errorMsg={errors['confirmNewPassword']}
showErrors
showError={showErrors}
/>
<div className={styles.actions}>
<Button