1
0
Fork 0
mirror of synced 2024-10-06 04:54:52 +13:00

Fix Table Creation With No Import (#9373)

This commit is contained in:
Gerard Burns 2023-01-18 12:00:08 +00:00 committed by GitHub
parent acafdf52bf
commit cbdd85225d
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@
export let rows = []
export let schema = {}
export let allValid = false
export let allValid = true
export let displayColumn = null
const typeOptions = [

View file

@ -33,7 +33,7 @@
let autoColumns = getAutoColumnInformation()
let schema = {}
let rows = []
let allValid = false
let allValid = true
let displayColumn = null
function getAutoColumns() {
@ -99,7 +99,7 @@
title="Create Table"
confirmText="Create"
onConfirm={saveTable}
disabled={error || !name || !allValid}
disabled={error || !name || (rows.length && !allValid)}
>
<Input
data-cy="table-name-input"