Skip to content

Commit

Permalink
fixes off-screen Priestley render (closes #43)
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Aug 30, 2017
1 parent 2017f3c commit 76b34a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Priestley.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export default class Priestley extends Viz {

super.render(callback);

if (!this._filteredData) return this;

const data = this._filteredData.map((data, i) => ({
__d3plus__: true,
data,
Expand Down

0 comments on commit 76b34a8

Please sign in to comment.