Pass query instead of slice to Action buttons to prevent lagging query (#1948)

* Pass query instead of slice to Action buttons to prevent lagging query

* Delete beforeOpen and put DisplayQueryButton in pure component
This commit is contained in:
vera-liu
2017-01-11 12:29:06 -08:00
committed by GitHub
parent a385ee9e97
commit 49b6b38741
3 changed files with 19 additions and 29 deletions

View File

@@ -254,6 +254,7 @@ class ChartContainer extends React.Component {
<ExploreActionButtons
slice={this.state.mockSlice}
canDownload={this.props.can_download}
query={this.props.query}
/>
</div>
</div>