mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -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,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user