Skip to content

A local-first personal finance app

Remove no-op applyFilter call (#1430)

Jed Fox81446fb4ef07
diff --git a/packages/desktop-client/src/components/payees/index.js b/packages/desktop-client/src/components/payees/index.js
index 6b34b408be..ba8e1ec5ff 100644
--- a/packages/desktop-client/src/components/payees/index.js
+++ b/packages/desktop-client/src/components/payees/index.js
@@ -518,8 +518,7 @@ export const ManagePayees = forwardRef(
style={{ marginRight: 10 }}
onClick={() => {
setOrphanedOnly(!orphanedOnly);
- const filterInput = document.getElementById('filter-input');
- applyFilter(filterInput.value);
+ applyFilter(filter);
tableNavigator.onEdit(null);
}}
>
diff --git a/upcoming-release-notes/1430.md b/upcoming-release-notes/1430.md
new file mode 100644
index 0000000000..ca8179ec65
--- /dev/null
+++ b/upcoming-release-notes/1430.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [j-f1]
+---
+
+Remove no-op `applyFilter` call