Load templates via GET, so it can be prefetchable
[MAILPOET-2378]
This commit is contained in:
committed by
Jack Kitterhing
parent
d0ebee755c
commit
dcb71efdd5
@@ -68,7 +68,7 @@ class NewsletterTemplates extends React.Component {
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
MailPoet.Ajax.post({
|
||||
MailPoet.Ajax.get({
|
||||
api_version: window.mailpoet_api_version,
|
||||
endpoint: 'newsletterTemplates',
|
||||
action: 'getAll',
|
||||
|
Reference in New Issue
Block a user