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

Merge branch 'jsalyers-fix-list-count' into 'develop'

[JES] Fix the list counter. I was querying the wrong variable after a change I made recently

See merge request !220
parents 8964a2f1 bd4114cf
No related branches found
No related tags found
2 merge requests!224Develop,!220[JES] Fix the list counter. I was querying the wrong variable after a change I made recently
......@@ -168,7 +168,7 @@ class ListManagement extends React.Component {
get_list_length() {
if (!this.state.all_listed_accounts) return 0;
if (this.state.account_filter === '') return this.get_accounts_to_display().length;
if (this.state.account_filter === '') return this.state.all_listed_accounts.length;
else return this.get_filtered_accounts().length;
}
......
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