Fix BBReferenceField search
This commit is contained in:
parent
3234af8998
commit
bc125b3c22
|
@ -108,14 +108,11 @@
|
||||||
filter: SearchFilter[],
|
filter: SearchFilter[],
|
||||||
linkedTableId?: string
|
linkedTableId?: string
|
||||||
) => {
|
) => {
|
||||||
if (!linkedTableId) {
|
|
||||||
return undefined
|
|
||||||
}
|
|
||||||
const datasource =
|
const datasource =
|
||||||
dsType === "table"
|
dsType === "table"
|
||||||
? {
|
? {
|
||||||
type: dsType,
|
type: dsType,
|
||||||
tableId: fieldSchema?.tableId!,
|
tableId: linkedTableId!,
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
type: dsType,
|
type: dsType,
|
||||||
|
|
Loading…
Reference in New Issue