Skip to content

Commit

Permalink
removing unnecessary copy of maxScore
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Oct 16, 2019
1 parent ba025f0 commit 2c761f5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export const AnomalyDetectionPanel: FC = () => {
Object.keys(scores).forEach(groupId => {
const resultsIndex = scores[groupId] && scores[groupId].index;
const { maxScore } = resultsIndex !== undefined && results[resultsIndex];
scores[groupId].maxScore = maxScore || undefined;
tempGroups[groupId].max_anomaly_score = maxScore || undefined;
});

Expand Down

0 comments on commit 2c761f5

Please sign in to comment.