Skip to content

Commit

Permalink
[DUOS-2373][risk=no] Fix algorithm display (#2090)
Browse files Browse the repository at this point in the history
* fix algorithm display
  • Loading branch information
rushtong authored Mar 8, 2023
1 parent c520ca2 commit 49a8adc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/BucketUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ const calculateAlgorithmResultForBucket = (bucket) => {
flatMap(match => match.failureReasons),
uniq
)(bucket.matchResults);
const { createDate, id } = bucket.matchResults[0];
const match = {createDate, failureReasons, id};
const {createDate, failed, id, match} = bucket.matchResults[0];
const matchResult = {createDate, failureReasons, failed, id, match};
return {
result: processMatchData(match),
result: processMatchData(matchResult),
createDate,
failureReasons,
id
Expand Down

0 comments on commit 49a8adc

Please sign in to comment.