Quick fix, only allow using SQL.
This commit is contained in:
parent
90859cfe18
commit
41b9c94237
|
@ -26,7 +26,7 @@
|
|||
|
||||
function getTableFields(linkField) {
|
||||
const table = $tables.list.find(table => table._id === linkField.tableId)
|
||||
if (!table) {
|
||||
if (!table || !table.sql) {
|
||||
return []
|
||||
}
|
||||
const linkFields = getFields(Object.values(table.schema), {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import { SourceNames, SqlQuery } from "../definitions/datasource"
|
||||
import { Datasource, Table } from "../definitions/common"
|
||||
import { SourceNames } from "../definitions/datasource"
|
||||
import { DocumentTypes, SEPARATOR } from "../db/utils"
|
||||
import { FieldTypes, BuildSchemaErrors, InvalidColumns } from "../constants"
|
||||
|
||||
|
|
Loading…
Reference in New Issue