Skip to content

Commit

Permalink
fix: [DHIS2-14599] adapt to the new response format of /potentialDupl…
Browse files Browse the repository at this point in the history
…icates (#1701)
  • Loading branch information
superskip authored May 2, 2023
1 parent 0954cf2 commit b0f5408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/dashboard/dashboard-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ trackerCapture.controller('DashboardController',
if ($scope.selectedTeiId) {

TEIService.getPotentialDuplicatesForTei($scope.selectedTeiId).then(function(duplicates){
$scope.potentialDuplicates = duplicates.identifiableObjects;
$scope.potentialDuplicates = duplicates.potentialDuplicates;
$scope.duplicateExists = $scope.potentialDuplicates.length > 0;
});

Expand Down

0 comments on commit b0f5408

Please sign in to comment.