Skip to content

A local-first personal finance app

:bug: fix 's' hotkey not working in transaction table (#3324)

Matiss Janis Aboltinsf1c0d0b8a60e
diff --git a/packages/desktop-client/src/components/transactions/SelectedTransactionsButton.jsx b/packages/desktop-client/src/components/transactions/SelectedTransactionsButton.jsx
index 88ca81ac67..fbb65a602c 100644
--- a/packages/desktop-client/src/components/transactions/SelectedTransactionsButton.jsx
+++ b/packages/desktop-client/src/components/transactions/SelectedTransactionsButton.jsx
@@ -165,7 +165,8 @@ export function SelectedTransactionsButton({
]);
useHotkeys(
's',
- () => (!types.trans || linked ? onViewSchedule() : onLinkSchedule()),
+ () =>
+ !types.trans || linked ? onViewSchedule() : onLinkSchedule(selectedIds),
{
scopes: ['app'],
},
diff --git a/upcoming-release-notes/3324.md b/upcoming-release-notes/3324.md
new file mode 100644
index 0000000000..e72d02a576
--- /dev/null
+++ b/upcoming-release-notes/3324.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [MatissJanis]
+---
+
+Fix "s" hotkey breaking in transaction table.