Skip to content

Commit

Permalink
fix: fixed #663
Browse files Browse the repository at this point in the history
  • Loading branch information
hknokh2 committed Nov 30, 2023
1 parent 13ac839 commit daa3cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/models/job_models/migrationJobTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@ export default class MigrationJobTask {
* @returns {boolean} true = > not equal
*/
function ___compareRecords(target: any, cloned: any, fieldsToCompareRecords: Array<string>): boolean {
if (target && !cloned || cloned && !target) {
if (target && !cloned || cloned && !target || self.scriptObject.idFieldIsMapped) {
return true;
}
return Object.keys(cloned)
Expand Down

0 comments on commit daa3cbc

Please sign in to comment.