diff --git a/src/pages/patientView/SVGIcons.tsx b/src/pages/patientView/SVGIcons.tsx deleted file mode 100644 index c6753019af8..00000000000 --- a/src/pages/patientView/SVGIcons.tsx +++ /dev/null @@ -1,124 +0,0 @@ -import * as React from 'react'; - -export function getMouseIcon(): JSX.Element { - return ( - - - - - - - - - - - ); -} - -export function getOrganoidIcon(): JSX.Element { - return ( - - - - - - - - - - - - - - - - - - - - ); -} diff --git a/src/pages/patientView/sampleHeader/SampleSummaryList.tsx b/src/pages/patientView/sampleHeader/SampleSummaryList.tsx index fc83708c855..3377dd2f88b 100644 --- a/src/pages/patientView/sampleHeader/SampleSummaryList.tsx +++ b/src/pages/patientView/sampleHeader/SampleSummaryList.tsx @@ -4,7 +4,6 @@ import { observer } from 'mobx-react'; import { ClinicalDataBySampleId } from 'cbioportal-ts-api-client'; import _ from 'lodash'; import { getSpanElementsFromCleanData } from '../clinicalInformation/lib/clinicalAttributesUtil'; -import { getMouseIcon, getOrganoidIcon } from '../SVGIcons'; import { getSampleViewUrl } from 'shared/api/urls'; import SignificantMutationalSignatures from '../patientHeader/SignificantMutationalSignatures'; import { PatientViewPageStore } from '../clinicalInformation/PatientViewPageStore'; @@ -110,8 +109,16 @@ export default class SampleSummaryList extends React.Component< '', {'\u00A0'} - {isPDX && getMouseIcon()} - {isOrganoid && getOrganoidIcon()} + {isPDX && ( + + )} + {isOrganoid && ( + + )} {(isPDX || isOrganoid) && '\u00A0'} + + + + + + + + + diff --git a/src/pages/patientView/sampleHeader/organoid_icon.svg b/src/pages/patientView/sampleHeader/organoid_icon.svg new file mode 100644 index 00000000000..c7125b188d3 --- /dev/null +++ b/src/pages/patientView/sampleHeader/organoid_icon.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + +