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()); }