From 7d3eb2f23437107ebd8a0cfe0a178955a95b4263 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 16 Apr 2021 17:25:53 +0100 Subject: [PATCH] Formatting. --- .../backend/DataTable/modals/CreateEditColumn.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte index 2b0812bb1b..639201f89b 100644 --- a/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte +++ b/packages/builder/src/components/backend/DataTable/modals/CreateEditColumn.svelte @@ -52,8 +52,8 @@ ) $: required = !!field?.constraints?.presence || primaryDisplay $: uneditable = - $tables.selected?._id === TableNames.USERS && - UNEDITABLE_USER_FIELDS.includes(field.name) || + ($tables.selected?._id === TableNames.USERS && + UNEDITABLE_USER_FIELDS.includes(field.name)) || (originalName && field.type === LINK_TYPE) $: invalid = (field.type === LINK_TYPE && !field.tableId) ||