mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-24 10:48:11 +08:00
conditional colon (#2181)
This commit is contained in:
@@ -106,7 +106,9 @@ class Gene extends React.Component {
|
||||
top: -1,
|
||||
}}
|
||||
/>
|
||||
<Truncate tooltipAddendum={`: ${geneDescription}`}>
|
||||
<Truncate
|
||||
tooltipAddendum={geneDescription && `: ${geneDescription}`}
|
||||
>
|
||||
<span
|
||||
style={{
|
||||
width: globals.leftSidebarWidth - genesetNameLengthVisible,
|
||||
|
||||
Reference in New Issue
Block a user