mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-12-25 23:23:21 -05:00
ofx import: Disable BankID field when importing as Credit Card
This commit is contained in:
parent
fb59f9b3c5
commit
d2ebe7b399
@ -178,6 +178,7 @@ const AddEditAccountModal = React.createClass({
|
||||
</FormGroup>
|
||||
);
|
||||
}
|
||||
var bankIdDisabled = (this.state.ofxaccttype == "CC") ? true : false;
|
||||
return (
|
||||
<Modal show={this.props.show} onHide={this.handleCancel}>
|
||||
<Modal.Header closeButton>
|
||||
@ -278,6 +279,7 @@ const AddEditAccountModal = React.createClass({
|
||||
<Col componentClass={ControlLabel} xs={2}>{ofxBankIdName}</Col>
|
||||
<Col xs={10}>
|
||||
<FormControl type="text"
|
||||
disabled={bankIdDisabled}
|
||||
value={this.state.ofxbankid}
|
||||
onChange={this.handleChange}
|
||||
ref="ofxbankid"/>
|
||||
|
Loading…
Reference in New Issue
Block a user