diff --git a/packages/features/insights/server/routing-events.ts b/packages/features/insights/server/routing-events.ts index 5c17974cab..54abb52b2a 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(); const headers = (fields || []) + .filter((f) => !f.deleted) .map((f) => { return { id: f.id,