Small fix.
This commit is contained in:
parent
a6f6942288
commit
86846eff3f
|
@ -214,8 +214,10 @@ class LinkController {
|
||||||
let links = await getLinkDocuments({
|
let links = await getLinkDocuments({
|
||||||
tableId: field.tableId,
|
tableId: field.tableId,
|
||||||
rowId: linkId,
|
rowId: linkId,
|
||||||
fieldName: linkedSchema.name,
|
}).filter(
|
||||||
})
|
link =>
|
||||||
|
link.id !== row._id && link.fieldName === linkedSchema.name
|
||||||
|
)
|
||||||
|
|
||||||
// check all the related rows exist
|
// check all the related rows exist
|
||||||
const foundRecords = await this._db.getMultiple(
|
const foundRecords = await this._db.getMultiple(
|
||||||
|
|
Loading…
Reference in New Issue