A local-first personal finance app
changed default months to 5 in cash flow report (#1723)
Shaan Khosla2f97c3a1e2a9
diff --git a/packages/desktop-client/src/components/reports/CashFlow.js b/packages/desktop-client/src/components/reports/CashFlow.jsindex 704d6e9952..5869b7083e 100644--- a/packages/desktop-client/src/components/reports/CashFlow.js+++ b/packages/desktop-client/src/components/reports/CashFlow.js@@ -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());diff --git a/upcoming-release-notes/1723.md b/upcoming-release-notes/1723.mdnew file mode 100644index 0000000000..495f4069a6--- /dev/null+++ b/upcoming-release-notes/1723.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [shaankhosla]+---++Changed the default number of months shown in the Cash Flow report from 30 to 5.