aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2023-07-21 11:34:51 -0400
committersrichman333 <sarah_n_richman@brown.edu>2023-07-21 11:34:51 -0400
commit27bf26fe688baabff93ab6ebb6b75af4043d29d3 (patch)
tree3fb41925e105513c33e09f8aad69c0615d93e50a /src
parent371f0309ec6b10a86b4a456d233be5b53cf93356 (diff)
brushed lightbox fix
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/DataVizBox/components/Histogram.tsx2
-rw-r--r--src/client/views/nodes/DataVizBox/components/PieChart.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DataVizBox/components/Histogram.tsx b/src/client/views/nodes/DataVizBox/components/Histogram.tsx
index 01e6709fa..c07c85f7e 100644
--- a/src/client/views/nodes/DataVizBox/components/Histogram.tsx
+++ b/src/client/views/nodes/DataVizBox/components/Histogram.tsx
@@ -398,7 +398,7 @@ export class Histogram extends React.Component<HistogramProps> {
}
else selected = 'none';
return (
- this.props.axes.length >= 1 && (this.incomingSelected? this.incomingSelected.length>0 : true) ? (
+ this.props.axes.length >= 1 ? (
<div ref={this._histogramRef} className="chart-container">
<span className={'selected-data'}> {`Selected: ${selected}`}</span>
</div>
diff --git a/src/client/views/nodes/DataVizBox/components/PieChart.tsx b/src/client/views/nodes/DataVizBox/components/PieChart.tsx
index 05a2f1588..37c435411 100644
--- a/src/client/views/nodes/DataVizBox/components/PieChart.tsx
+++ b/src/client/views/nodes/DataVizBox/components/PieChart.tsx
@@ -371,7 +371,7 @@ export class PieChart extends React.Component<PieChartProps> {
}
else selected = 'none';
return (
- this.props.axes.length >= 1 && (this.incomingSelected? this.incomingSelected.length>0 : true) ? (
+ this.props.axes.length >= 1 ? (
<div ref={this._piechartRef} className="chart-container">
<span className={'selected-data'}> {`Selected: ${selected}`}</span>
</div>