feat: add download as image button to explore (#10297)

This commit is contained in:
Erik Ritter
2020-07-14 16:40:12 -07:00
committed by GitHub
parent 518dbd05b6
commit 6ae9f3af8e
8 changed files with 32 additions and 7 deletions

View File

@@ -45,6 +45,7 @@ const propTypes = {
addHistory: PropTypes.func,
can_overwrite: PropTypes.bool.isRequired,
can_download: PropTypes.bool.isRequired,
chartHeight: PropTypes.string.isRequired,
isStarred: PropTypes.bool.isRequired,
slice: PropTypes.object,
sliceName: PropTypes.string,
@@ -169,6 +170,7 @@ export class ExploreChartHeader extends React.PureComponent {
slice={this.props.slice}
canDownload={this.props.can_download}
chartStatus={chartStatus}
chartHeight={this.props.chartHeight}
latestQueryFormData={latestQueryFormData}
queryResponse={queryResponse}
/>