Fixing an issue with search field select erroring in builder when using queries in blocks.

This commit is contained in:
mike12345567 2022-02-04 16:56:12 +00:00
parent f61e15594b
commit e74621f327
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
return base return base
} }
const currentTable = $tables.list.find(table => table._id === ds.tableId) 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 field => field.name
) )
} }