Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
actual-vt-capstone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danieljk
actual-vt-capstone
Commits
5854dffd
Unverified
Commit
5854dffd
authored
1 year ago
by
Matiss Janis Aboltins
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
fix category spending report (#2096)
parent
c727e3e9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/desktop-client/src/components/reports/reports/CategorySpending.jsx
+3
-2
3 additions, 2 deletions
...lient/src/components/reports/reports/CategorySpending.jsx
upcoming-release-notes/2096.md
+6
-0
6 additions, 0 deletions
upcoming-release-notes/2096.md
with
9 additions
and
2 deletions
packages/desktop-client/src/components/reports/reports/CategorySpending.jsx
+
3
−
2
View file @
5854dffd
...
@@ -16,7 +16,7 @@ import categorySpendingSpreadsheet from '../spreadsheets/category-spending-sprea
...
@@ -16,7 +16,7 @@ import categorySpendingSpreadsheet from '../spreadsheets/category-spending-sprea
import
useReport
from
'
../useReport
'
;
import
useReport
from
'
../useReport
'
;
import
{
fromDateRepr
}
from
'
../util
'
;
import
{
fromDateRepr
}
from
'
../util
'
;
function
Category
Average
()
{
function
Category
Spending
()
{
const
categories
=
useCategories
();
const
categories
=
useCategories
();
const
[
selectedCategories
,
setSelectedCategories
]
=
useState
(
null
);
const
[
selectedCategories
,
setSelectedCategories
]
=
useState
(
null
);
...
@@ -144,6 +144,7 @@ function CategoryAverage() {
...
@@ -144,6 +144,7 @@ function CategoryAverage() {
>
>
<
View
style
=
{
{
width
:
200
}
}
>
<
View
style
=
{
{
width
:
200
}
}
>
<
CategorySelector
<
CategorySelector
categories
=
{
categories
.
list
}
categoryGroups
=
{
categories
.
grouped
.
filter
(
categoryGroups
=
{
categories
.
grouped
.
filter
(
categoryGroup
=>
!
categoryGroup
.
is_income
,
categoryGroup
=>
!
categoryGroup
.
is_income
,
)
}
)
}
...
@@ -173,4 +174,4 @@ function CategoryAverage() {
...
@@ -173,4 +174,4 @@ function CategoryAverage() {
);
);
}
}
export
default
Category
Average
;
export
default
Category
Spending
;
This diff is collapsed.
Click to expand it.
upcoming-release-notes/2096.md
0 → 100644
+
6
−
0
View file @
5854dffd
---
category
:
Bugfix
authors
:
[
MatissJanis
]
---
Fix category spending report (experimental) not loading
[
#1981
](
https://github.com/actualbudget/actual/issues/1981
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment