Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Mar 27, 2024
1 parent ec2b218 commit fac8008
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const cleanGlobalProperties = (
return cleanPropertyGroupFilter(properties)
} else if (
(properties['type'] === 'AND' || properties['type'] === 'OR') &&
!properties['values'].some((property) => property['type'] === 'AND' || property['type'] === 'OR')
!properties['values'].some((property: any) => property['type'] === 'AND' || property['type'] === 'OR')
) {
// property group filter value
properties = {
Expand Down Expand Up @@ -71,7 +71,7 @@ export const cleanEntityProperties = (
return properties.map(cleanProperty)
} else if (
(properties['type'] === 'AND' || properties['type'] === 'OR') &&
!properties['values'].some((property) => property['type'] === 'AND' || property['type'] === 'OR')
!properties['values'].some((property: any) => property['type'] === 'AND' || property['type'] === 'OR')
) {
// property group filter value
return properties.values.map(cleanProperty)
Expand Down

0 comments on commit fac8008

Please sign in to comment.