Uses "standard" templates for "automatic" email types
(cherry picked from commit 3c09c14524a663cc341cd6de7652cb2f23421a44)
This commit is contained in:
@@ -133,7 +133,9 @@ class NewsletterTemplates extends React.Component {
|
|||||||
id: this.props.params.id,
|
id: this.props.params.id,
|
||||||
},
|
},
|
||||||
}).done((response) => {
|
}).done((response) => {
|
||||||
selectedTab = response.data.type;
|
if (response.data.type !== 'automatic') {
|
||||||
|
selectedTab = response.data.type;
|
||||||
|
}
|
||||||
}).fail((response) => {
|
}).fail((response) => {
|
||||||
if (response.errors.length > 0) {
|
if (response.errors.length > 0) {
|
||||||
MailPoet.Notice.error(
|
MailPoet.Notice.error(
|
||||||
|
Reference in New Issue
Block a user