data duplicator fixes

This commit is contained in:
SPRINX0\prochazka
2024-11-07 16:33:57 +01:00
parent 2d823140b9
commit bafa2c2fff
4 changed files with 68 additions and 1 deletions

View File

@@ -125,7 +125,7 @@ class DuplicatorItemHolder {
// returns list of columns that are weak references and are not resolved
async getMissingWeakRefsForRow(row): Promise<string[]> {
if (!this.duplicator.options.setNullForUnresolvedNullableRefs) {
if (!this.duplicator.options.setNullForUnresolvedNullableRefs || !this.weakReferences?.length) {
return [];
}