Fix issue with search fields in builder when not using a table
This commit is contained in:
parent
d3a4e34b3f
commit
9f180ca292
|
@ -25,7 +25,7 @@
|
|||
return base
|
||||
}
|
||||
const currentTable = $tables.list.find(table => table._id === ds.tableId)
|
||||
return getFields(base, { allowLinks: currentTable.sql }).map(
|
||||
return getFields(base, { allowLinks: currentTable?.sql }).map(
|
||||
field => field.name
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue