1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-12-26 07:33:21 -05:00

Don't disable BankID if Investment account

This commit is contained in:
Aaron Lindsay 2017-06-04 21:21:25 -04:00
parent d2ebe7b399
commit 3c49e9424d

View File

@ -178,7 +178,7 @@ const AddEditAccountModal = React.createClass({
</FormGroup> </FormGroup>
); );
} }
var bankIdDisabled = (this.state.ofxaccttype == "CC") ? true : false; var bankIdDisabled = (this.state.type != AccountType.Investment && this.state.ofxaccttype == "CC") ? true : false;
return ( return (
<Modal show={this.props.show} onHide={this.handleCancel}> <Modal show={this.props.show} onHide={this.handleCancel}>
<Modal.Header closeButton> <Modal.Header closeButton>