Skip to content

Commit

Permalink
Merge pull request #4752 from alisman/svsearch
Browse files Browse the repository at this point in the history
Fix search issue in SV table when site1 gene is missing
  • Loading branch information
alisman authored Oct 9, 2023
2 parents d94c81f + 077581b commit c55a813
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ export default class StructuralVariantTableWrapper extends React.Component<
filterString: string,
filterStringUpper: string
) => {
return d[0].site1HugoSymbol.indexOf(filterStringUpper) > -1;
return (
d[0].site1HugoSymbol?.indexOf(filterStringUpper) > -1
);
},
download: (d: StructuralVariant[]) => d[0].site1HugoSymbol,
sortBy: (d: StructuralVariant[]) => d[0].site1HugoSymbol,
Expand Down

0 comments on commit c55a813

Please sign in to comment.