fix fast view switching bug

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

View File

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