Scheduling infrastructure for absolutely everyone.
fix: filter deleted fields from routing form insights headers (#24830)
Eunjae Lee2484b6fad255
diff --git a/packages/features/insights/server/routing-events.ts b/packages/features/insights/server/routing-events.tsindex 5c17974cab1..54abb52b2a5 100644--- a/packages/features/insights/server/routing-events.ts+++ b/packages/features/insights/server/routing-events.ts@@ -1,6 +1,4 @@-import mapKeys from "lodash/mapKeys";-import startCase from "lodash/startCase";import {@@ -265,6 +263,7 @@ class RoutingEventsInsights {const fields = routingFormFieldsSchema.parse(routingForms.map((f) => f.fields).flat());const ids = new Set<string>();const headers = (fields || [])+ .filter((f) => !f.deleted).map((f) => {return {id: f.id,