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