From e6e3788160ae788595c0a6c81d1e4212cba60d9e Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Sun, 8 Apr 2018 20:39:02 -0700 Subject: [PATCH] Reactive current cell selection count --- src/components/expression/expressionButtons.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/expression/expressionButtons.js b/src/components/expression/expressionButtons.js index 15382db8..e4109cf7 100644 --- a/src/components/expression/expressionButtons.js +++ b/src/components/expression/expressionButtons.js @@ -43,9 +43,15 @@ class Expression extends React.Component { return (
- //
- // There are currently 10 cells selected, click a cell set button to store them. - //
+
+ There are currently + { + " " + + _.filter(this.props.currentCellSelection, "__selected__").length + + " " + } + cells selected, click a cell set button to store them. +