Skip to content
Snippets Groups Projects
Unverified Commit 5854dffd authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins Committed by GitHub
Browse files

:bug: fix category spending report (#2096)

parent c727e3e9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
---
category: Bugfix
authors: [MatissJanis]
---
Fix category spending report (experimental) not loading [#1981](https://github.com/actualbudget/actual/issues/1981)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment