Skip to content

Commit 692cca1

Browse files
fix: removed duped networks #4399 (#4403)
1 parent 460df97 commit 692cca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/viewModelBuilders/azul/hca-dcp/common/viewModelBuilders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ function calculateEstimatedCellCount(
15191519
export function filterBioNetworks(
15201520
responseValues: (NetworkKey | null)[]
15211521
): NetworkKey[] {
1522-
return responseValues.filter(isBioNetwork);
1522+
return Array.from(new Set(responseValues.filter(isBioNetwork)));
15231523
}
15241524

15251525
/**

0 commit comments

Comments
 (0)