[PR #5807] [MERGED] fix: losing transaction amount decimals on update #40564

Closed
opened 2026-04-23 13:24:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5807
Author: @csenel
Created: 9/28/2025
Status: Merged
Merged: 10/5/2025
Merged by: @matt-fidd

Base: masterHead: fix-hidden-decimal-input


📝 Commits (1)

  • 4e8835e fix losing transaction amount decimals on update

📊 Changes

2 files changed (+10 additions, -1 deletions)

View changed files

📝 packages/desktop-client/src/components/transactions/TransactionsTable.tsx (+4 -1)
upcoming-release-notes/5807.md (+6 -0)

📄 Description

Fixes https://github.com/actualbudget/actual/issues/3294

Transaction amount was being updated even when debit and credit are not specifically updated. This is not a problem in general but when decimals are hidden now the serialized transaction is missing decimals. So if we don't use original amount, it also removes the decimals on any update, such as changing notes, cleared, etc.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5807 **Author:** [@csenel](https://github.com/csenel) **Created:** 9/28/2025 **Status:** ✅ Merged **Merged:** 10/5/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `fix-hidden-decimal-input` --- ### 📝 Commits (1) - [`4e8835e`](https://github.com/actualbudget/actual/commit/4e8835ed1a0eaab3d516aa6354a71a05cf94576a) fix losing transaction amount decimals on update ### 📊 Changes **2 files changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/transactions/TransactionsTable.tsx` (+4 -1) ➕ `upcoming-release-notes/5807.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> Fixes https://github.com/actualbudget/actual/issues/3294 Transaction amount was being updated even when `debit` and `credit` are not specifically updated. This is not a problem in general but when decimals are hidden now the serialized transaction is missing decimals. So if we don't use original amount, it also removes the decimals on any update, such as changing notes, cleared, etc. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 13:24:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#40564