Add tilde before subscribers count in selects

[MAILPOET-3646]
This commit is contained in:
Jan Lysý
2021-06-28 15:03:36 +02:00
committed by Veljko V
parent adaa004948
commit 96c84009b7
9 changed files with 13 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ export default (props: Props) => {
const segments = useSelector(selector)().map((segment) => ({
value: segment.id,
label: segment.name,
count: segment.subscribers,
count: `~${segment.subscribers}`,
}));
const defaultValue = segments.filter((segment) => props.value.includes(segment.value));