Fixing an issue with search field select erroring in builder when using queries in blocks.
This commit is contained in:
parent
f61e15594b
commit
e74621f327
|
@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue