From 6021d4ab0b61a4a9f066a217768bd1dad3280387 Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez <joeljeremy.marquez@gmail.com> Date: Tue, 14 May 2024 13:07:10 -0700 Subject: [PATCH] [Mobile] Do not remember last entered category in mobile transaction entry (#2754) * Do not remember last entered category in mobile transaction entry * Release notes --- .../src/components/mobile/transactions/TransactionEdit.jsx | 2 +- upcoming-release-notes/2754.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 upcoming-release-notes/2754.md diff --git a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx index 78cc7f5cd..53a1a1154 100644 --- a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx +++ b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx @@ -1015,7 +1015,7 @@ function TransactionEditUnconnected({ setTransactions( makeTemporaryTransactions( locationState?.accountId || lastTransaction?.account || null, - locationState?.categoryId || lastTransaction?.category || null, + locationState?.categoryId || null, lastTransaction?.date, ), ); diff --git a/upcoming-release-notes/2754.md b/upcoming-release-notes/2754.md new file mode 100644 index 000000000..7b516b6d9 --- /dev/null +++ b/upcoming-release-notes/2754.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [joel-jeremy] +--- + +Do not remember last entered category in mobile transaction entry. -- GitLab