mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-10 07:00:55 +08:00
Reactive current cell selection count
This commit is contained in:
@@ -43,9 +43,15 @@ class Expression extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div style={{margin: 10}}>
|
<div style={{margin: 10}}>
|
||||||
// <div style={{margin: 10, width: 300}}>
|
<div style={{margin: 10, width: 300}}>
|
||||||
// There are currently 10 cells selected, click a cell set button to store them.
|
There are currently
|
||||||
// </div>
|
{
|
||||||
|
" " +
|
||||||
|
_.filter(this.props.currentCellSelection, "__selected__").length +
|
||||||
|
" "
|
||||||
|
}
|
||||||
|
cells selected, click a cell set button to store them.
|
||||||
|
</div>
|
||||||
<CellSetButton
|
<CellSetButton
|
||||||
{...this.props}
|
{...this.props}
|
||||||
eitherCellSetOneOrTwo={1}/>
|
eitherCellSetOneOrTwo={1}/>
|
||||||
|
|||||||
Reference in New Issue
Block a user