Skip to content

Scheduling infrastructure for absolutely everyone.

fix: nullish check on insights routing (#19097)

Eunjae Lee935e4c52a4e1
diff --git a/packages/features/insights/components/RoutingFormResponsesTable.tsx b/packages/features/insights/components/RoutingFormResponsesTable.tsx
index 19272470835..a68ffad909f 100644
--- a/packages/features/insights/components/RoutingFormResponsesTable.tsx
+++ b/packages/features/insights/components/RoutingFormResponsesTable.tsx
@@ -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);
},
});