Updates variable names to match those in views/newsletters.html
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
|||||||
MailerMixin,
|
MailerMixin,
|
||||||
} from 'newsletters/listings/mixins.jsx';
|
} from 'newsletters/listings/mixins.jsx';
|
||||||
|
|
||||||
const mailpoetTrackingEnabled = (!!(window.mailpoetTrackingEnabled));
|
const mailpoetTrackingEnabled = (!!(window.mailpoet_tracking_enabled));
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
{
|
{
|
||||||
|
@@ -14,7 +14,7 @@ import {
|
|||||||
MailerMixin,
|
MailerMixin,
|
||||||
} from 'newsletters/listings/mixins.jsx';
|
} from 'newsletters/listings/mixins.jsx';
|
||||||
|
|
||||||
const mailpoetTrackingEnabled = (!!(window.mailpoetTrackingEnabled));
|
const mailpoetTrackingEnabled = (!!(window.mailpoet_tracking_enabled));
|
||||||
|
|
||||||
const messages = {
|
const messages = {
|
||||||
onTrash: (response) => {
|
onTrash: (response) => {
|
||||||
|
@@ -11,9 +11,9 @@ import MailPoet from 'mailpoet';
|
|||||||
import _ from 'underscore';
|
import _ from 'underscore';
|
||||||
import Hooks from 'wp-js-hooks';
|
import Hooks from 'wp-js-hooks';
|
||||||
|
|
||||||
const mailpoetRoles = window.mailpoetRoles || {};
|
const mailpoetRoles = window.mailpoet_roles || {};
|
||||||
const mailpoetSegments = window.mailpoetSegments || {};
|
const mailpoetSegments = window.mailpoet_segments || {};
|
||||||
const mailpoetTrackingEnabled = (!!(window.mailpoetTrackingEnabled));
|
const mailpoetTrackingEnabled = (!!(window.mailpoet_tracking_enabled));
|
||||||
|
|
||||||
const messages = {
|
const messages = {
|
||||||
onTrash: (response) => {
|
onTrash: (response) => {
|
||||||
|
Reference in New Issue
Block a user