fix fast view switching bug

This commit is contained in:
Martin McKeaveney 2020-11-23 12:12:03 +00:00
parent 0e31fadb1f
commit 831d19e11c
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
<Table {title} {schema} {data} allowEditing={true} {loading}> <Table {title} {schema} {data} allowEditing={true} {loading}>
<CreateColumnButton /> <CreateColumnButton />
{#if Object.keys(schema).length > 0} {#if schema && Object.keys(schema).length > 0}
<CreateRowButton /> <CreateRowButton />
<CreateViewButton /> <CreateViewButton />
<ExportButton view={tableView} /> <ExportButton view={tableView} />