diff --git a/package.json b/package.json index 14c13a84488..cb71696c677 100644 --- a/package.json +++ b/package.json @@ -216,7 +216,7 @@ "react-markdown": "^3.4.1", "react-mfb": "^0.6.0", "react-motion": "^0.4.7", - "react-mutation-mapper": "^0.4.2", + "react-mutation-mapper": "^0.4.3", "react-overlays": "0.7.4", "react-portal": "^4.2.0", "react-rangeslider": "^2.1.0", diff --git a/src/shared/components/mutationTable/MutationTable.tsx b/src/shared/components/mutationTable/MutationTable.tsx index 63989c5e78e..583fe66d68c 100644 --- a/src/shared/components/mutationTable/MutationTable.tsx +++ b/src/shared/components/mutationTable/MutationTable.tsx @@ -597,7 +597,7 @@ export default class MutationTable
extends React. Overall population allele frequency is shown. Hover over a frequency to see the frequency for each specific population.), defaultSortDirection: "desc", visible: false, - align: "right" + align: "left" }; this._columns[MutationTableColumnType.CLINVAR] = { diff --git a/src/shared/components/mutationTable/column/GnomadColumnFormatter.tsx b/src/shared/components/mutationTable/column/GnomadColumnFormatter.tsx index e0085ed6705..594d165d8f6 100644 --- a/src/shared/components/mutationTable/column/GnomadColumnFormatter.tsx +++ b/src/shared/components/mutationTable/column/GnomadColumnFormatter.tsx @@ -3,20 +3,13 @@ import {Circle} from "better-react-spinkit"; import 'rc-tooltip/assets/bootstrap_white.css'; import {Mutation} from "shared/api/generated/CBioPortalAPI"; import { - DefaultTooltip, TableCellStatusIndicator, TableCellStatus, MyVariantInfo, - MyVariantInfoAnnotation, - Gnomad, - AlleleCount, - AlleleNumber, - Homozygotes, - AlleleFrequency + MyVariantInfoAnnotation } from 'cbioportal-frontend-commons'; import GenomeNexusMyVariantInfoCache, { GenomeNexusCacheDataType } from "shared/cache/GenomeNexusMyVariantInfoCache"; import {calculateGnomadAllelFrequency, GnomadFrequency, gnomadSortValue} from "react-mutation-mapper"; -import generalStyles from "./styles.module.scss"; export default class GnomadColumnFormatter { @@ -24,9 +17,7 @@ export default class GnomadColumnFormatter { genomeNexusMyVariantInfoCache: GenomeNexusMyVariantInfoCache | undefined) { const genomeNexusCacheData = GnomadColumnFormatter.getGenomeNexusDataFromCache(data, genomeNexusMyVariantInfoCache); return ( -