maybe-finance / maybe

The OS for your personal finances
https://maybe.co
GNU Affero General Public License v3.0
28.71k stars 2.19k forks source link

Fix bug where transactions were duplicated in import confirm #941

Closed ljhurst closed 3 days ago

ljhurst commented 4 days ago

What

When reviewing imported transactions on the confirm page, transactions were duplicated for every date in the CSV. This was a view issue only. Clicking import imported the correct number of transactions

http://0.0.0.0:3000/imports/edc55bb1-0fcb-460d-b26b-dfb263728e55/confirm

Example CSV data

date,name,category,amount
2024-07-01,McDonalds,Food & Drink, -10
2024-06-30,Delta,Travel, -100
2024-06-30,Lyft,Auto & Transport, -5

Before

Screenshot 2024-07-03 at 00 21 03

How

Validation

After

Screenshot 2024-07-03 at 00 20 33
ljhurst commented 3 days ago

Added!