Fix showing header in newsletter types
[MAILPOET-2383]
This commit is contained in:
committed by
Jack Kitterhing
parent
3f4eb747c5
commit
5a4ce8f742
@@ -256,10 +256,12 @@ class NewsletterTypes extends React.Component {
|
||||
<div>
|
||||
<link rel="prefetch" href={window.mailpoet_editor_javascript_url} as="script" />
|
||||
|
||||
{this.props.showHeader
|
||||
&& <h1>{MailPoet.I18n.t(window.mailpoet_newsletters_count === 0 ? 'createFirstEmailTitle' : 'pickCampaignType')}</h1>
|
||||
&& <Breadcrumb step="type" />
|
||||
}
|
||||
{this.props.showHeader && (
|
||||
<>
|
||||
<h1>{MailPoet.I18n.t(window.mailpoet_newsletters_count === 0 ? 'createFirstEmailTitle' : 'pickCampaignType')}</h1>
|
||||
<Breadcrumb step="type" />
|
||||
</>
|
||||
)}
|
||||
|
||||
<ul className="mailpoet_boxes mailpoet_boxes_types">
|
||||
{types.map((type) => (
|
||||
|
Reference in New Issue
Block a user