From b58172c591640cbf7ea77ca3368c6218a2e9dc97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nejc=20Toma=C5=BEi=C4=8D?= Date: Thu, 13 Aug 2026 12:21:16 +0200 Subject: [PATCH] fix funnel step editor crash on null event values --- src/app/api/websites/[websiteId]/values/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/websites/[websiteId]/values/route.ts b/src/app/api/websites/[websiteId]/values/route.ts index d9242c504..5bbb767fa 100644 --- a/src/app/api/websites/[websiteId]/values/route.ts +++ b/src/app/api/websites/[websiteId]/values/route.ts @@ -54,5 +54,5 @@ export async function GET( values = await getValues(websiteId, FILTER_COLUMNS[type], filters); } - return json(values.filter(n => n).sort()); + return json(values.filter(n => n?.value != null).sort()); }