Display Premium Banner if key is not valid
and move Products Sold Tab to free plugin for consistency. [MAILPOET-5889]
This commit is contained in:
committed by
Aschepikov
parent
9bfa20d345
commit
42f929fba3
@ -125,10 +125,18 @@ function CampaignStatsPageComponent({ match, history, location }: Props) {
|
|||||||
)}
|
)}
|
||||||
</Tab>
|
</Tab>
|
||||||
|
|
||||||
{Hooks.applyFilters(
|
{MailPoet.isWoocommerceActive && (
|
||||||
'mailpoet_newsletters_purchased_products',
|
<Tab
|
||||||
null,
|
key="products"
|
||||||
newsletter,
|
title={__('Products Sold', 'mailpoet')}
|
||||||
|
automationId="products-sold-tab"
|
||||||
|
>
|
||||||
|
{Hooks.applyFilters(
|
||||||
|
'mailpoet_newsletters_purchased_products',
|
||||||
|
<PremiumBanner />,
|
||||||
|
newsletter,
|
||||||
|
)}
|
||||||
|
</Tab>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Tab
|
<Tab
|
||||||
|
Reference in New Issue
Block a user