fix databindings
This commit is contained in:
parent
8a2ccbc1a9
commit
45a2e5cf46
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue