Skip to content
Snippets Groups Projects
Commit 5ae37f65 authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Strip out whitespace before processing the accounts. Fixes #102

parent 49f120f4
No related branches found
No related tags found
2 merge requests!168Develop,!156[JES] Strip out whitespace before processing the accounts. Fixes #102
This commit is part of merge request !156. Comments created here will be created in the context of that merge request.
...@@ -234,6 +234,7 @@ class ListManagement extends React.Component { ...@@ -234,6 +234,7 @@ class ListManagement extends React.Component {
if (text === '') { if (text === '') {
this.setState({ unmatched_accounts: [], validated_accounts: [] }); this.setState({ unmatched_accounts: [], validated_accounts: [] });
} }
text = text.replace(/\s+/g, '');
this.setState({ unmatched_accounts: [] }); this.setState({ unmatched_accounts: [] });
let accounts = []; let accounts = [];
let validated_accounts = []; let validated_accounts = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment