fix: Tracking budget income budget fields missing in mobile view (#5251)

This commit is contained in:
Matiss Janis Aboltins
2025-06-29 18:51:04 +01:00
committed by GitHub
parent e5c84d4ae0
commit d9a171b249
3 changed files with 12 additions and 5 deletions

View File

@@ -48,22 +48,22 @@ export function BalanceCell({
});
const goal =
budgetType === 'report'
budgetType === 'tracking'
? trackingBudget.catGoal(category.id)
: envelopeBudget.catGoal(category.id);
const longGoal =
budgetType === 'report'
budgetType === 'tracking'
? trackingBudget.catLongGoal(category.id)
: envelopeBudget.catLongGoal(category.id);
const budgeted =
budgetType === 'report'
budgetType === 'tracking'
? trackingBudget.catBudgeted(category.id)
: envelopeBudget.catBudgeted(category.id);
const carryover =
budgetType === 'report'
budgetType === 'tracking'
? trackingBudget.catCarryover(category.id)
: envelopeBudget.catCarryover(category.id);

View File

@@ -126,7 +126,7 @@ function IncomeCategoryCells({
alignItems: 'center',
}}
>
{budgetType === 'report' && (
{budgetType === 'tracking' && (
<View
style={{
width: columnWidth,
@@ -143,6 +143,7 @@ function IncomeCategoryCells({
/>
</View>
)}
<View
style={{
width: columnWidth,

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [MatissJanis]
---
Fix tracking budget income budget fields missing in mobile view.