From 61d608d31f09ab66b581ecf5e6ff1651389dd10a Mon Sep 17 00:00:00 2001 From: merelendor Date: Wed, 18 Oct 2023 12:12:22 +0300 Subject: [PATCH] deals hotfix --- components/DealsStatus/SingleDeal.js | 4 ++++ components/EDOSign/index.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/DealsStatus/SingleDeal.js b/components/DealsStatus/SingleDeal.js index 83273c0..c69fcad 100644 --- a/components/DealsStatus/SingleDeal.js +++ b/components/DealsStatus/SingleDeal.js @@ -1096,6 +1096,8 @@ class LeasingRegistration extends Step _handle_onFinishEDO = () => { + const { onDealContractsUpdate } = this.props; + this.setState({ edo: false, checked: [] }, () => { onDealContractsUpdate(); @@ -1114,6 +1116,8 @@ class LeasingRegistration extends Step _handle_onFinishPaper = () => { + const { onDealContractsUpdate } = this.props; + this.setState({ paper: false, checked: [] }, () => { onDealContractsUpdate(); diff --git a/components/EDOSign/index.js b/components/EDOSign/index.js index 6bece40..773ee77 100644 --- a/components/EDOSign/index.js +++ b/components/EDOSign/index.js @@ -416,7 +416,7 @@ class EDOSign extends React.Component }); } - _handle_onGoToEDO = () => + _handle_onGoToEDO = (index) => { const { documents } = this.state;