fix: nullish check on insights routing (#19097)

This commit is contained in:
Eunjae Lee
2025-02-04 16:46:01 +00:00
committed by GitHub
parent 9a8ec4d281
commit 935e4c52a4
@@ -418,7 +418,7 @@ export function RoutingFormResponsesTable() {
filter: { type: filterType },
},
filterFn: (row, id, filterValue) => {
const cellValue = row.original.response[id].value;
const cellValue = row.original.response[id]?.value;
return dataTableFilter(cellValue, filterValue);
},
});