Add WooCommerce templates category

[MAILPOET-1480]
This commit is contained in:
Pavel Dohnal
2018-09-11 15:32:15 +02:00
parent 7d98de521d
commit 41880f72fd
2 changed files with 6 additions and 1 deletions

View File

@@ -24,6 +24,10 @@ const templatesCategories = [
name: 'notification',
label: MailPoet.I18n.t('tabNotificationTitle'),
},
{
name: 'woocommerce',
label: MailPoet.I18n.t('tabWoocommerceTitle'),
},
{
name: 'sample',
label: MailPoet.I18n.t('sample'),
@@ -70,7 +74,7 @@ class NewsletterTemplates extends React.Component {
{
name:
MailPoet.I18n.t('mailpoetGuideTemplateTitle'),
categories: '["welcome", "notification", "standard"]',
categories: '["welcome", "notification", "standard", "woocommerce"]',
readonly: '1',
},
];