Skip to content

Commit

Permalink
[ML] Fixing duplicate influencers when cloning a job via a wizard (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic authored Sep 25, 2018
1 parent 90d0d1c commit 8a4088f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.directive('mlInfluencersSelection', function () {

function getNonDefaultFields(defaultFields) {
return $scope.formConfig.influencerFields.filter(f => {
return (defaultFields.find(sp => sp === f) === undefined);
return (defaultFields.find(sp => sp.name === f.name) === undefined);
});
}

Expand Down

0 comments on commit 8a4088f

Please sign in to comment.