diff --git a/src/components/Shared/ValidationErrorsInfoDialog.js b/src/components/Shared/ValidationErrorsInfoDialog.js index bdffe15..e7b2e3c 100644 --- a/src/components/Shared/ValidationErrorsInfoDialog.js +++ b/src/components/Shared/ValidationErrorsInfoDialog.js @@ -28,30 +28,39 @@ export class ValidationErrorsInfoDialog extends React.Component { render() { - return ( -
- - {this.props.errorMessages.map(errorMessage => { - const oneValidationMessage = ({errorMessage.message}
); - const oneValidationMessageWithTab = (
  • {errorMessage.message}
  • ); - - if (errorMessage.field_name === "password-tab") { - return oneValidationMessageWithTab; - } else { - return oneValidationMessage; + const actions = [ + , + ]; + + return ( +
    + { + this.state.open && + + {this.props.errorMessages.map(errorMessage => { + return ( + + );}) + } + } - })} -
    -
    - ); + + ); + } } -} -module.exports = ValidationErrorsInfoDialog; \ No newline at end of file + module.exports = ValidationErrorsInfoDialog;