From 5b9d7eae65bcfc638e0e0a65ae26c6f1ff7832b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Mon, 28 Sep 2015 15:14:45 +0200 Subject: [PATCH] Corrections on loan form --- js/components/ascribe_forms/form_loan.js | 3 ++- sass/ascribe_notification_page.scss | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/js/components/ascribe_forms/form_loan.js b/js/components/ascribe_forms/form_loan.js index b9942ea8..ef2fbd13 100644 --- a/js/components/ascribe_forms/form_loan.js +++ b/js/components/ascribe_forms/form_loan.js @@ -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 (