Skip to content

Commit 232a0c2

Browse files
authored
fix: oops (#1215)
1 parent 077a9fd commit 232a0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compose/neurosynth-frontend/src/pages/CurationImport/helpers/SleuthImport.convert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const sleuthIngestedStudiesToStubs = (
8787
// although we know that each individual upload is deduplicated,
8888
// its possible that there are multiple uploads with the same study. We want to deduplicate
8989
// studies across all uploads so we only allow a unique pmid or doi
90-
if ((pmid && allIdentifiersSet.has(pmid)) || (doi && allIdentifiersSet.has(doi))) return;
90+
if ((pmid && allIdentifiersSet.has(pmid)) || (doi && allIdentifiersSet.has(doi))) continue;
9191

9292
if (pmid) allIdentifiersSet.add(pmid);
9393
if (doi) allIdentifiersSet.add(doi);

0 commit comments

Comments
 (0)