Skip to content

Commit fa7ae08

Browse files
authored
Merge pull request #80 from formio/Fix-tests-for-PR-79
FIO-8218: Fix tests for PR 79
2 parents 10df483 + 2f5d970 commit fa7ae08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/process/filter/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const filterPostProcess: ProcessorFnSync<FilterScope> = (context: FilterC
5252
for (const path in scope.filter) {
5353
if (scope.filter[path].include) {
5454
let value = get(submission?.data, path);
55-
if (isObject(value) && isObject(scope.filter[path])) {
55+
if (isObject(value) && isObject(scope.filter[path].value)) {
5656
if (scope.filter[path].compModelType === 'dataObject') {
5757
value = {...value, ...scope.filter[path].value, data: (value as any)?.data}
5858
} else {

0 commit comments

Comments
 (0)