mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 18:20:24 -05:00
🐛 (reports) fix conditionsOp not applying for saved reports (#4652)
This commit is contained in:
committed by
GitHub
parent
b9603d0e54
commit
999010cca6
@@ -273,6 +273,7 @@ function CustomReportInner({ report: initialReport }: CustomReportInnerProps) {
|
||||
report.conditions?.forEach((condition: RuleConditionEntity) =>
|
||||
onApplyFilter(condition),
|
||||
);
|
||||
onConditionsOpChange(report.conditionsOp);
|
||||
const trans = await send('get-earliest-transaction');
|
||||
setEarliestTransaction(trans ? trans.date : monthUtils.currentDay());
|
||||
const fromDate =
|
||||
@@ -346,7 +347,9 @@ function CustomReportInner({ report: initialReport }: CustomReportInnerProps) {
|
||||
firstDayOfWeekIdx,
|
||||
isDateStatic,
|
||||
onApplyFilter,
|
||||
onConditionsOpChange,
|
||||
report.conditions,
|
||||
report.conditionsOp,
|
||||
includeCurrentInterval,
|
||||
locale,
|
||||
]);
|
||||
|
||||
6
upcoming-release-notes/4652.md
Normal file
6
upcoming-release-notes/4652.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Reports: fix "any" condition not initially saving for custom reports.
|
||||
Reference in New Issue
Block a user