1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Adding a possible fix for #4179.

This commit is contained in:
Michael Drury 2022-01-25 21:35:11 +00:00
parent c8d3c531db
commit 347664a46d

View file

@ -525,7 +525,7 @@ module External {
const linkTable = this.getTable(tableId)
// @ts-ignore
const linkPrimary = linkTable.primary[0]
const rows = related[key].rows || []
const rows = related[key]?.rows || []
const found = rows.find(
(row: { [key: string]: any }) =>
row[linkPrimary] === relationship.id ||