From 5c0bee6031c081aa8ae573fbbe610611b302757b Mon Sep 17 00:00:00 2001 From: Neil <55785687+carkom@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:02:21 +0100 Subject: [PATCH] Custom Reports: PlusOne (#3117) * PlusOne * notes * add daterange filters --- .../desktop-client/src/components/reports/ReportSidebar.tsx | 4 ++++ upcoming-release-notes/3117.md | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 upcoming-release-notes/3117.md diff --git a/packages/desktop-client/src/components/reports/ReportSidebar.tsx b/packages/desktop-client/src/components/reports/ReportSidebar.tsx index b55ac8645..230bc01a6 100644 --- a/packages/desktop-client/src/components/reports/ReportSidebar.tsx +++ b/packages/desktop-client/src/components/reports/ReportSidebar.tsx @@ -435,6 +435,10 @@ export function ReportSidebar({ onChange={onSelectRange} options={rangeOptions} /> + {!disabledList.currentInterval.get(customReportItems.dateRange) && + customReportItems.includeCurrentInterval && ( + <Text style={{ marginLeft: 10 }}>+1</Text> + )} </View> ) : ( <> diff --git a/upcoming-release-notes/3117.md b/upcoming-release-notes/3117.md new file mode 100644 index 000000000..c737e3210 --- /dev/null +++ b/upcoming-release-notes/3117.md @@ -0,0 +1,6 @@ +--- +category: Enhancements +authors: [carkom] +--- + +Adding a "+1" to custom reports to indicate that the current month toggle is on. -- GitLab