Quick fix.

This commit is contained in:
mike12345567 2024-09-30 15:43:58 +01:00
parent f28cb1badb
commit 01415fb066
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ export function recurseLogicalOperators(
fn: (f: SearchFilters) => SearchFilters
) {
for (const logical of LOGICAL_OPERATORS) {
if (filters[logical]) {
if (filters?.[logical]) {
filters[logical]!.conditions = filters[logical]!.conditions.map(
condition => fn(condition)
)