Commit b8689205 authored by Jason Salyers's avatar Jason Salyers
Browse files

Merge branch 'jsalyers-fix-whitespace-bug' into 'develop'

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

Closes #102

See merge request !156
parents 49f120f4 5ae37f65
......@@ -234,6 +234,7 @@ class ListManagement extends React.Component {
if (text === '') {
this.setState({ unmatched_accounts: [], validated_accounts: [] });
}
text = text.replace(/\s+/g, '');
this.setState({ unmatched_accounts: [] });
let accounts = [];
let validated_accounts = [];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment