Fix external relationships.

This commit is contained in:
mike12345567 2024-07-09 13:39:49 +01:00
parent 8c15dcbf61
commit cd19202042
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}