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