Fix external relationships.
This commit is contained in:
parent
8c15dcbf61
commit
cd19202042
|
@ -76,7 +76,7 @@ export async function updateRelationshipColumns(
|
||||||
if (!linked._id) {
|
if (!linked._id) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if (opts?.sqs && isCorrectRelationship(relationship, row)) {
|
if (!opts?.sqs || isCorrectRelationship(relationship, row)) {
|
||||||
columns[relationship.column] = linked
|
columns[relationship.column] = linked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue