Fix import of frontend-core constants from client

This commit is contained in:
Andrew Kingston 2024-11-29 14:14:24 +00:00
parent 6b0b7fe731
commit 152cc3811e
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { makePropSafe as safe } from "@budibase/string-templates"
import { API } from "../api/index.js"
import { UILogicalOperator } from "@budibase/types"
import { OnEmptyFilter } from "@budibase/frontend-core/src/constants.js"
import { Constants } from "@budibase/frontend-core"
// Map of data types to component types for search fields inside blocks
const schemaComponentMap = {
@ -108,7 +108,7 @@ export const enrichFilter = (filter, columns, formId) => {
return {
logicalOperator: UILogicalOperator.ALL,
onEmptyFilter: OnEmptyFilter.RETURN_ALL,
onEmptyFilter: Constants.OnEmptyFilter.RETURN_ALL,
groups: [
...(filter?.groups || []),
{