fix funnel step editor crash on null event values
This commit is contained in:
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());
|
||||
}
|
||||
Reference in new issue
Block a user