diff options
author | bobzel <zzzman@gmail.com> | 2023-08-17 13:24:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 13:24:03 -0400 |
commit | 0ff267634af5fe833541ddc1bc792a9362260a01 (patch) | |
tree | 39feb1d18c1005f394a06317616cfff9d0c836c0 /src/client/views/nodes/DataVizBox/components/Histogram.tsx | |
parent | 53d0d31e37ef4ab6fb1ef0c8d9d1e9542b8b5598 (diff) | |
parent | 5e8a263c2d891370467f0faccf3330179cedd699 (diff) |
Merge pull request #209 from brown-dash/data-visualization-sarah
DataViz small bug fixes
Diffstat (limited to 'src/client/views/nodes/DataVizBox/components/Histogram.tsx')
-rw-r--r-- | src/client/views/nodes/DataVizBox/components/Histogram.tsx | 4 |
1 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 086db2a47..b3bdccbbb 100644 --- a/src/client/views/nodes/DataVizBox/components/Histogram.tsx +++ b/src/client/views/nodes/DataVizBox/components/Histogram.tsx @@ -457,7 +457,7 @@ export class Histogram extends React.Component<HistogramProps> { this.componentDidMount(); - if (this._histogramData.length > 0) { + if (this._histogramData.length > 0 || (!this.incomingLinks || this.incomingLinks.length==0)) { return this.props.axes.length >= 1 ? ( <div className="chart-container"> <div className="graph-title"> @@ -520,4 +520,4 @@ export class Histogram extends React.Component<HistogramProps> { <div className="chart-container">Selected rows of data from the incoming DataVizBox to display.</div> ); } -} +}
\ No newline at end of file |