Skip to content

Commit

Permalink
fix somatic checking logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bprize15 committed Nov 7, 2024
1 parent 2e487e4 commit b888680
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function SomaticGermlineToggleButton({ hugoSymbol, firebaseDb, createGene }: ISo
if (hugoSymbol && createGene) {
// On curation page
try {
await createGeneIfDoesNotExist(hugoSymbol, isSomatic, firebaseDb, createGene);
await createGeneIfDoesNotExist(hugoSymbol, newVariantType === 'somatic', firebaseDb, createGene);
} catch (error) {
notifyError(error);
}
Expand Down

0 comments on commit b888680

Please sign in to comment.