1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-10-31 16:00:05 -04: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>
);
}
var bankIdDisabled = (this.state.ofxaccttype == "CC") ? true : false;
var bankIdDisabled = (this.state.type != AccountType.Investment && this.state.ofxaccttype == "CC") ? true : false;
return (
<Modal show={this.props.show} onHide={this.handleCancel}>
<Modal.Header closeButton>