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:
@@ -108,7 +108,7 @@ const bulkActions = [
|
|||||||
onSelect: function onSelect() {
|
onSelect: function onSelect() {
|
||||||
const field = {
|
const field = {
|
||||||
id: 'move_to_segment',
|
id: 'move_to_segment',
|
||||||
api_version: window.mailpoet_api_version,
|
name: 'move_to_segment',
|
||||||
endpoint: 'segments',
|
endpoint: 'segments',
|
||||||
filter: function filter(segment) {
|
filter: function filter(segment) {
|
||||||
return !!(
|
return !!(
|
||||||
@@ -140,7 +140,7 @@ const bulkActions = [
|
|||||||
onSelect: function onSelect() {
|
onSelect: function onSelect() {
|
||||||
const field = {
|
const field = {
|
||||||
id: 'add_to_segment',
|
id: 'add_to_segment',
|
||||||
api_version: window.mailpoet_api_version,
|
name: 'add_to_segment',
|
||||||
endpoint: 'segments',
|
endpoint: 'segments',
|
||||||
filter: function filter(segment) {
|
filter: function filter(segment) {
|
||||||
return !!(
|
return !!(
|
||||||
@@ -172,7 +172,7 @@ const bulkActions = [
|
|||||||
onSelect: function onSelect() {
|
onSelect: function onSelect() {
|
||||||
const field = {
|
const field = {
|
||||||
id: 'remove_from_segment',
|
id: 'remove_from_segment',
|
||||||
api_version: window.mailpoet_api_version,
|
name: 'remove_from_segment',
|
||||||
endpoint: 'segments',
|
endpoint: 'segments',
|
||||||
filter: function filter(segment) {
|
filter: function filter(segment) {
|
||||||
return !!(
|
return !!(
|
||||||
|
Reference in New Issue
Block a user