Show validation errors on eligibility check
This commit is contained in:
@@ -3,13 +3,10 @@ import Dialog from 'material-ui/Dialog';
|
||||
import FlatButton from 'material-ui/FlatButton';
|
||||
|
||||
export class ValidationErrorsInfoDialog extends React.Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
this.props = props;
|
||||
this.state = {
|
||||
|
||||
state = {
|
||||
open: this.props.open,
|
||||
}
|
||||
}
|
||||
|
||||
componentWillReceiveProps(newProps){
|
||||
this.setState({open: newProps.open});
|
||||
@@ -38,7 +35,7 @@ export class ValidationErrorsInfoDialog extends React.Component {
|
||||
return (
|
||||
<div>
|
||||
<Dialog
|
||||
title="Errors"
|
||||
title="Erors"
|
||||
actions={actions}
|
||||
modal={this.props.modal ? this.props.modal : false}
|
||||
open={this.state.open}
|
||||
|
||||
Reference in New Issue
Block a user