Skip to content

Commit

Permalink
🐛 fix category spending report (#2096)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatissJanis authored Dec 19, 2023
1 parent c727e3e commit 5854dff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import categorySpendingSpreadsheet from '../spreadsheets/category-spending-sprea
import useReport from '../useReport';
import { fromDateRepr } from '../util';

function CategoryAverage() {
function CategorySpending() {
const categories = useCategories();

const [selectedCategories, setSelectedCategories] = useState(null);
Expand Down Expand Up @@ -144,6 +144,7 @@ function CategoryAverage() {
>
<View style={{ width: 200 }}>
<CategorySelector
categories={categories.list}
categoryGroups={categories.grouped.filter(
categoryGroup => !categoryGroup.is_income,
)}
Expand Down Expand Up @@ -173,4 +174,4 @@ function CategoryAverage() {
);
}

export default CategoryAverage;
export default CategorySpending;
6 changes: 6 additions & 0 deletions upcoming-release-notes/2096.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [MatissJanis]
---

Fix category spending report (experimental) not loading [#1981](https://github.com/actualbudget/actual/issues/1981)

0 comments on commit 5854dff

Please sign in to comment.