mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
form loan edit
This commit is contained in:
parent
6013303bd6
commit
01ebee87ec
@ -71,9 +71,9 @@ let LoanForm = React.createClass({
|
||||
handleOnChange(event) {
|
||||
// event.target.value is the submitted email of the loanee
|
||||
if(event && event.target && event.target.value && event.target.value.match(/.*@.*/)) {
|
||||
LoanContractActions.fetchLoanContract(event.target.value);
|
||||
ContractActions.fetchContract(event.target.value);
|
||||
} else {
|
||||
LoanContractActions.flushLoanContract();
|
||||
ContractActions.flushContract();
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user