From ab1881ed60d1186d19c02275e1a7759760753896 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Sat, 11 Feb 2023 01:14:58 +0000 Subject: [PATCH] fix displayColumn logic --- .../backend/TableNavigator/modals/CreateTableModal.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte b/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte index 923645f582..1987a51e5d 100644 --- a/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte +++ b/packages/builder/src/components/backend/TableNavigator/modals/CreateTableModal.svelte @@ -107,8 +107,7 @@ onConfirm={saveTable} disabled={error || !name || - (rows.length && !allValid) || - displayColumn == null} + (rows.length && (!allValid || displayColumn == null))} >