Skip to content

Commit

Permalink
changed default months to 5 in cash flow report (#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaankhosla authored Sep 22, 2023
1 parent ba5174d commit 2f97c3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/desktop-client/src/components/reports/CashFlow.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function CashFlow() {

const [allMonths, setAllMonths] = useState(null);
const [start, setStart] = useState(
monthUtils.subMonths(monthUtils.currentMonth(), 30),
monthUtils.subMonths(monthUtils.currentMonth(), 5),
);
const [end, setEnd] = useState(monthUtils.currentDay());

Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/1723.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Enhancements
authors: [shaankhosla]
---

Changed the default number of months shown in the Cash Flow report from 30 to 5.

0 comments on commit 2f97c3a

Please sign in to comment.