From 0849dc491bb8a4f55ae5c679a3eda7e0fb4c733d Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Fri, 26 Oct 2018 12:24:51 +0530 Subject: [PATCH] Added the clone modal that was accidentally removed --- frontend/my/src/Campaigns.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/frontend/my/src/Campaigns.js b/frontend/my/src/Campaigns.js index 8bd2b5c..e344ef3 100644 --- a/frontend/my/src/Campaigns.js +++ b/frontend/my/src/Campaigns.js @@ -398,6 +398,19 @@ class Campaigns extends React.PureComponent { }} /> } + + { this.state.record && + { this.handleCloneCampaign({ ...this.state.record, name: this.state.cloneName }) }}> + { + this.setState({ cloneName: e.target.value }) + }} /> + } ) }