Skip to content

Commit

Permalink
[ML] Fixing duplicate influencers when cloning a job via a wizard (el…
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic authored Sep 26, 2018
1 parent 889e19e commit 9f42042
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 9f42042

Please sign in to comment.