mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 10:14:53 -05:00
🐛 (importer) fix nYNAB importer when decimal budgets used (#1529)
This commit is contained in:
committed by
GitHub
parent
d3f9a9c3a0
commit
1d65184241
@@ -249,7 +249,7 @@ async function importBudgets(
|
|||||||
await Promise.all(
|
await Promise.all(
|
||||||
budget.categories.map(async catBudget => {
|
budget.categories.map(async catBudget => {
|
||||||
let catId = entityIdMap.get(catBudget.id);
|
let catId = entityIdMap.get(catBudget.id);
|
||||||
let amount = catBudget.budgeted / 10;
|
let amount = Math.round(catBudget.budgeted / 10);
|
||||||
|
|
||||||
if (
|
if (
|
||||||
!catId ||
|
!catId ||
|
||||||
|
|||||||
6
upcoming-release-notes/1529.md
Normal file
6
upcoming-release-notes/1529.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
category: Bugfix
|
||||||
|
authors: [MatissJanis]
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix nYNAB importer when fractional budget amounts are used
|
||||||
Reference in New Issue
Block a user