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