Fix campaign stats cell width
This commit is contained in:
parent
44442b2b62
commit
0f56a5c1a5
|
@ -45,7 +45,7 @@ class Campaigns extends React.PureComponent {
|
|||
title: "Name",
|
||||
dataIndex: "name",
|
||||
sorter: true,
|
||||
width: "30%",
|
||||
width: "20%",
|
||||
vAlign: "top",
|
||||
render: (text, record) => {
|
||||
const out = [];
|
||||
|
@ -85,7 +85,7 @@ class Campaigns extends React.PureComponent {
|
|||
{
|
||||
title: "Lists",
|
||||
dataIndex: "lists",
|
||||
width: "20%",
|
||||
width: "25%",
|
||||
align: "left",
|
||||
className: "lists",
|
||||
render: (lists, record) => {
|
||||
|
@ -102,6 +102,7 @@ class Campaigns extends React.PureComponent {
|
|||
{
|
||||
title: "Stats",
|
||||
className: "stats",
|
||||
width: "30%",
|
||||
render: (text, record) => {
|
||||
if(record.status !== cs.CampaignStatusDraft && record.status !== cs.CampaignStatusScheduled) {
|
||||
return this.renderStats(record)
|
||||
|
|
Loading…
Reference in New Issue