Fixing issue stopping view test from creating tables.

This commit is contained in:
mike12345567 2021-06-21 13:41:58 +01:00
parent df1e15dd55
commit db01275483
1 changed files with 2 additions and 2 deletions

View File

@ -23,14 +23,14 @@
schema,
name: $views.selected?.name,
}
$: type = $tables.selected.type
$: type = $tables.selected?.type
$: isInternal = type === "internal"
// Fetch rows for specified table
$: {
loading = true
const loadingTableId = $tables.selected?._id
api.fetchDataForTable($tables.selected._id).then(rows => {
api.fetchDataForTable($tables.selected?._id).then(rows => {
loading = false
// If we started a slow request then quickly change table, sometimes