fix databindings

This commit is contained in:
Keviin Åberg Kultalahti 2021-03-23 12:48:54 +01:00
parent 8a2ccbc1a9
commit 45a2e5cf46
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ export const getSchemaForDatasource = (datasource, isForm = false) => {
const queries = get(queriesStores).queries const queries = get(queriesStores).queries
table = queries.find(query => query._id === datasource._id) table = queries.find(query => query._id === datasource._id)
} else { } else {
const tables = get(tablesStore).tables const tables = get(tablesStore).list
table = tables.find(table => table._id === datasource.tableId) table = tables.find(table => table._id === datasource.tableId)
} }
if (table) { if (table) {