mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Corrections on loan form
This commit is contained in:
parent
5b41e368ac
commit
5b9d7eae65
@ -107,7 +107,7 @@ let LoanForm = React.createClass({
|
||||
if (this.state.contractAgreementList && this.state.contractAgreementList.length > 0) {
|
||||
return {'contract_agreement_id': this.state.contractAgreementList[0].id};
|
||||
}
|
||||
return null;
|
||||
return {};
|
||||
},
|
||||
|
||||
getContractCheckbox() {
|
||||
@ -122,6 +122,7 @@ let LoanForm = React.createClass({
|
||||
return (
|
||||
<Property
|
||||
name="terms"
|
||||
label={getLangText('Loan Contract')}
|
||||
hidden={false}
|
||||
className="notification-contract-pdf">
|
||||
<embed
|
||||
|
@ -32,6 +32,7 @@
|
||||
margin-bottom: 0;
|
||||
|
||||
.loan-form {
|
||||
margin-top: .5em;
|
||||
height: 45vh;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user