Fix searching in select2 when importing subscribers

[MAILPOET-2795]
This commit is contained in:
Ján Mikláš
2020-03-31 14:53:11 +02:00
committed by Veljko V
parent 143024afd8
commit c157082be2
2 changed files with 2 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ export default (onCreateSegment) => {
onCreateSegment({
id: response.data.id,
name: response.data.name,
text: response.data.name, // Required select2 property
subscriberCount: 0,
});