Fix a warning when selecting bulk actions in subs listing [MAILPOET-1669]

This commit is contained in:
wxa
2018-12-11 20:20:44 +03:00
parent 39b0bfeba4
commit b5733de3bf

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 !!(