make BudgetTable Budgeted value positive on mobile (#3602)

* make BudgetTable Budgeted value positive on mobile

To match the desktop behaviour.

* add release notes

* update vrt snapshots

* fix tracking budget
This commit is contained in:
Tim
2024-10-14 16:05:28 +13:00
committed by GitHub
parent 310d299ebd
commit e0f0d8e241
25 changed files with 8 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -1793,7 +1793,7 @@ function BudgetTableHeader({
}
type="financial"
>
{({ type, value }) => (
{({ type: formatType, value }) => (
<Button
variant="bare"
isDisabled={show3Cols}
@@ -1834,7 +1834,7 @@ function BudgetTableHeader({
paddingRight: 4,
}}
>
{format(value, type)}
{format(type === 'report' ? value : -value, formatType)}
</AutoTextSize>
</PrivacyFilter>
</View>

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [tim-smart]
---
Ensure budgeted amounts are positive for mobile budget view