From ec7d398c211731dd47e880df25e288c69e72610d Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Mon, 5 Nov 2018 23:07:10 +0530 Subject: [PATCH] Rearrange and move prominent action icons to the front --- frontend/my/src/Campaigns.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/my/src/Campaigns.js b/frontend/my/src/Campaigns.js index 4ed47ff..7a13469 100644 --- a/frontend/my/src/Campaigns.js +++ b/frontend/my/src/Campaigns.js @@ -117,19 +117,6 @@ class Campaigns extends React.PureComponent { render: (text, record) => { return (
- - { - this.handlePreview(record) - }}> - - - - { - let r = { ...record, lists: record.lists.map((i) => { return i.id }) } - this.handleToggleCloneForm(r) - }}> - - { ( record.status === cs.CampaignStatusPaused ) && this.handleUpdateStatus(record, cs.CampaignStatusRunning)}> @@ -161,6 +148,19 @@ class Campaigns extends React.PureComponent { } + + { + this.handlePreview(record) + }}> + + + + { + let r = { ...record, lists: record.lists.map((i) => { return i.id }) } + this.handleToggleCloneForm(r) + }}> + + { ( record.status === cs.CampaignStatusDraft || record.status === cs.CampaignStatusScheduled ) && this.handleDeleteRecord(record)}>