Fixing issue stopping view test from creating tables.
This commit is contained in:
parent
0248098964
commit
68c8769686
|
@ -23,14 +23,14 @@
|
||||||
schema,
|
schema,
|
||||||
name: $views.selected?.name,
|
name: $views.selected?.name,
|
||||||
}
|
}
|
||||||
$: type = $tables.selected.type
|
$: type = $tables.selected?.type
|
||||||
$: isInternal = type === "internal"
|
$: isInternal = type === "internal"
|
||||||
|
|
||||||
// Fetch rows for specified table
|
// Fetch rows for specified table
|
||||||
$: {
|
$: {
|
||||||
loading = true
|
loading = true
|
||||||
const loadingTableId = $tables.selected?._id
|
const loadingTableId = $tables.selected?._id
|
||||||
api.fetchDataForTable($tables.selected._id).then(rows => {
|
api.fetchDataForTable($tables.selected?._id).then(rows => {
|
||||||
loading = false
|
loading = false
|
||||||
|
|
||||||
// If we started a slow request then quickly change table, sometimes
|
// If we started a slow request then quickly change table, sometimes
|
||||||
|
|
Loading…
Reference in New Issue