Remove the character "~" from counts

[MAILPOET-3708]
This commit is contained in:
Jan Lysý
2021-08-06 14:17:11 +02:00
committed by Veljko V
parent 4120839102
commit 74dc9fce53
9 changed files with 12 additions and 12 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));