Skip to content
Snippets Groups Projects
Unverified Commit 81446fb4 authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Remove no-op applyFilter call (#1430)

`applyFilter` exits early if the filter is unchanged, so this call
doesn’t do anything.
parent edf2e32c
No related branches found
No related tags found
No related merge requests found
...@@ -518,8 +518,7 @@ export const ManagePayees = forwardRef( ...@@ -518,8 +518,7 @@ export const ManagePayees = forwardRef(
style={{ marginRight: 10 }} style={{ marginRight: 10 }}
onClick={() => { onClick={() => {
setOrphanedOnly(!orphanedOnly); setOrphanedOnly(!orphanedOnly);
const filterInput = document.getElementById('filter-input'); applyFilter(filter);
applyFilter(filterInput.value);
tableNavigator.onEdit(null); tableNavigator.onEdit(null);
}} }}
> >
......
---
category: Maintenance
authors: [j-f1]
---
Remove no-op `applyFilter` call
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