1
0
Fork 0
mirror of synced 2024-10-04 20:13:35 +13:00

Small build fix.

This commit is contained in:
mike12345567 2024-10-03 14:47:31 +01:00
parent 98ebd8f18c
commit 9c70ed92ba

View file

@ -92,7 +92,7 @@ export async function search(
// Enrich saved query with ephemeral query params.
// We prevent searching on any fields that are saved as part of the query, as
// that could let users find rows they should not be allowed to access.
let viewQuery = dataFilters.buildQueryLegacy(view.query || [])
let viewQuery = dataFilters.buildQueryLegacy(view.query) || {}
delete viewQuery?.onEmptyFilter
const sqsEnabled = await features.flags.isEnabled("SQS")