From 1b4d043164d51cdffa0bf65e3e0d15a612345ac5 Mon Sep 17 00:00:00 2001 From: Dean Date: Wed, 4 Jan 2023 09:14:03 +0000 Subject: [PATCH] Fix for UI flags. Enabled the indexing UI for autocolumn in edit mode --- .../backend/DataTable/modals/CreateEditColumn.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte index 7266318691..c6cb4af3fd 100644 --- a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte @@ -133,12 +133,12 @@ editableColumn?.type !== JSON_TYPE && editableColumn?.subtype !== AUTO_COLUMN_SUB_TYPES.CREATED_BY && editableColumn?.subtype !== AUTO_COLUMN_SUB_TYPES.UPDATED_BY && - editableColumn?.type !== FORMULA_TYPE && - !editableColumn.autocolumn + editableColumn?.type !== FORMULA_TYPE $: canBeDisplay = editableColumn?.type !== LINK_TYPE && editableColumn?.type !== AUTO_TYPE && - (editableColumn?.type !== JSON_TYPE) & !editableColumn.autocolumn + editableColumn?.type !== JSON_TYPE && + !editableColumn.autocolumn $: canBeRequired = editableColumn?.type !== LINK_TYPE && !uneditable &&