diff --git a/health-services/project-factory/src/server/utils/campaignUtils.ts b/health-services/project-factory/src/server/utils/campaignUtils.ts index 5d517c8466..a0282991e1 100644 --- a/health-services/project-factory/src/server/utils/campaignUtils.ts +++ b/health-services/project-factory/src/server/utils/campaignUtils.ts @@ -2205,8 +2205,7 @@ async function getCodesTarget(request: any, localizationMap?: any) { entry["Target at the Selected Boundary level"]; if ( Object.keys(entry["Parent Target at the Selected Boundary level"]).length > 0 && - entry["Parent Target at the Selected Boundary level"] !== - entry["Target at the Selected Boundary level"] + _.isEqual(entry["Parent Target at the Selected Boundary level"],entry["Target at the Selected Boundary level"]) ) { boundaryCodesWhoseTargetsHasToBeUpdated.push(entry[codeColumnName]); }