fix funnel step editor crash on null event values

This commit is contained in:
Nejc Tomažič committed 2026-08-13 12:59:02 +02:00
1 parent 80a0bb3715
commit b58172c591
1 file changed
+1 -1
@@ -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());
}