mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-27 17:48:17 -05:00
🐛 fix category spending report (#2096)
This commit is contained in:
committed by
GitHub
parent
c727e3e980
commit
5854dffd50
@@ -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);
|
||||
@@ -144,6 +144,7 @@ function CategoryAverage() {
|
||||
>
|
||||
<View style={{ width: 200 }}>
|
||||
<CategorySelector
|
||||
categories={categories.list}
|
||||
categoryGroups={categories.grouped.filter(
|
||||
categoryGroup => !categoryGroup.is_income,
|
||||
)}
|
||||
@@ -173,4 +174,4 @@ function CategoryAverage() {
|
||||
);
|
||||
}
|
||||
|
||||
export default CategoryAverage;
|
||||
export default CategorySpending;
|
||||
|
||||
6
upcoming-release-notes/2096.md
Normal file
6
upcoming-release-notes/2096.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Fix category spending report (experimental) not loading [#1981](https://github.com/actualbudget/actual/issues/1981)
|
||||
Reference in New Issue
Block a user