Merge pull request #1686 from mailpoet/subs-bulk-action-warning

Fix a warning when selecting bulk actions in the subscribers listing [MAILPOET-1669]
This commit is contained in:
M. Shull
2018-12-12 09:51:24 -05:00
committed by GitHub

View File

@@ -108,7 +108,7 @@ const bulkActions = [
onSelect: function onSelect() {
const field = {
id: 'move_to_segment',
api_version: window.mailpoet_api_version,
name: 'move_to_segment',
endpoint: 'segments',
filter: function filter(segment) {
return !!(
@@ -140,7 +140,7 @@ const bulkActions = [
onSelect: function onSelect() {
const field = {
id: 'add_to_segment',
api_version: window.mailpoet_api_version,
name: 'add_to_segment',
endpoint: 'segments',
filter: function filter(segment) {
return !!(
@@ -172,7 +172,7 @@ const bulkActions = [
onSelect: function onSelect() {
const field = {
id: 'remove_from_segment',
api_version: window.mailpoet_api_version,
name: 'remove_from_segment',
endpoint: 'segments',
filter: function filter(segment) {
return !!(