1
0
Fork 0
mirror of synced 2024-07-01 04:21:06 +12:00

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

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