From f1c0d0b8a60e3c79c00de6a1cd12540876a20e20 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins Date: Wed, 28 Aug 2024 20:21:24 +0100 Subject: [PATCH] :bug: fix 's' hotkey not working in transaction table (#3324) --- .../components/transactions/SelectedTransactionsButton.jsx | 3 ++- upcoming-release-notes/3324.md | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 upcoming-release-notes/3324.md diff --git a/packages/desktop-client/src/components/transactions/SelectedTransactionsButton.jsx b/packages/desktop-client/src/components/transactions/SelectedTransactionsButton.jsx index 88ca81ac67e..fbb65a602ca 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 00000000000..e72d02a5761 --- /dev/null +++ b/upcoming-release-notes/3324.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [MatissJanis] +--- + +Fix "s" hotkey breaking in transaction table.