Fix frontend build issue.

This commit is contained in:
mike12345567 2024-01-24 17:20:12 +00:00
parent 57d512b041
commit 4fe30355f2
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
import { getColumnIcon } from "../lib/utils" import { getColumnIcon } from "../lib/utils"
import MigrationModal from "../controls/MigrationModal.svelte" import MigrationModal from "../controls/MigrationModal.svelte"
import { debounce } from "../../../utils/utils" import { debounce } from "../../../utils/utils"
import { FieldType, FormulaTypes } from "@budibase/types" import { FieldType, FormulaType } from "@budibase/types"
import { TableNames } from "../../../constants" import { TableNames } from "../../../constants"
export let column export let column
@ -96,7 +96,7 @@
const { type, formulaType } = col.schema const { type, formulaType } = col.schema
return ( return (
searchableTypes.includes(type) || searchableTypes.includes(type) ||
(type === FieldType.FORMULA && formulaType === FormulaTypes.STATIC) (type === FieldType.FORMULA && formulaType === FormulaType.STATIC)
) )
} }