Skip to content

Commit

Permalink
Merge pull request #610 from AFP-Medialab/fix-605
Browse files Browse the repository at this point in the history
Fixes #605
  • Loading branch information
Sallaa authored Oct 1, 2024
2 parents 28f716e + 1f518ce commit a372c8c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ const SyntheticImageDetectionResults = ({
*/
const getNddRows = (nddResults) => {
let rows = [];
let newIndex = 0;
for (let i = 0; i < nddResults.length; i += 1) {
const res = nddResults[i];
let detectionResults = [];
Expand Down Expand Up @@ -325,9 +326,11 @@ const SyntheticImageDetectionResults = ({
continue;
}

newIndex++;

rows.push(
new NddResult(
i + 1,
newIndex,
res.archive_url,
res.archive_url,
res.origin_urls,
Expand Down

0 comments on commit a372c8c

Please sign in to comment.