Skip to content

A local-first personal finance app

Hide selected accounts in the mobile filter (#7030)

Mats Nilsson37ad0ed56318
diff --git a/packages/desktop-client/src/components/util/GenericInput.tsx b/packages/desktop-client/src/components/util/GenericInput.tsx
index 60b4b07b72..6cf0dd31f2 100644
--- a/packages/desktop-client/src/components/util/GenericInput.tsx
+++ b/packages/desktop-client/src/components/util/GenericInput.tsx
@@ -215,6 +215,8 @@ export const GenericInput = ({
}
props.onChange(newValue);
},
+ hiddenAccounts:
+ props.multi === true ? props.value : undefined,
},
},
}),
diff --git a/upcoming-release-notes/7030.md b/upcoming-release-notes/7030.md
new file mode 100644
index 0000000000..b2eb6b4812
--- /dev/null
+++ b/upcoming-release-notes/7030.md
@@ -0,0 +1,6 @@
+---
+category: Bugfixes
+authors: [mnil]
+---
+
+Hide selected accounts in the filter.