diff --git a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte index a956d09ee6..0130c39715 100644 --- a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte @@ -19,7 +19,6 @@ helpers, PROTECTED_INTERNAL_COLUMNS, PROTECTED_EXTERNAL_COLUMNS, - canBeDisplayColumn, canHaveDefaultColumn, } from "@budibase/shared-core" import { createEventDispatcher, getContext, onMount } from "svelte" @@ -43,7 +42,7 @@ SourceName, } from "@budibase/types" import RelationshipSelector from "components/common/RelationshipSelector.svelte" - import { RowUtils } from "@budibase/frontend-core" + import { RowUtils, canBeDisplayColumn } from "@budibase/frontend-core" import ServerBindingPanel from "components/common/bindings/ServerBindingPanel.svelte" import OptionsEditor from "./OptionsEditor.svelte" import { isEnabled } from "helpers/featureFlags" @@ -166,7 +165,7 @@ : availableAutoColumns // used to select what different options can be displayed for column type $: canBeDisplay = - canBeDisplayColumn(editableColumn.type) && !editableColumn.autocolumn + canBeDisplayColumn(editableColumn) && !editableColumn.autocolumn $: canHaveDefault = isEnabled("DEFAULT_VALUES") && canHaveDefaultColumn(editableColumn.type) $: canBeRequired = diff --git a/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte b/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte index 4c9f4dd10f..5804dc3172 100644 --- a/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte +++ b/packages/builder/src/components/backend/TableNavigator/TableDataImport.svelte @@ -1,7 +1,8 @@