fixes toggleDownloadForExcel function (#34685) (#34852)

(cherry picked from commit f05bddae43)

Co-authored-by: Matt Abrams <37156449+zuchka@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2021-05-27 22:26:44 +02:00
committed by GitHub
co-authored by Matt Abrams
parent 04741642c5
commit e6cad0f415
@@ -131,11 +131,11 @@ export class InspectDataTab extends PureComponent<Props, State> {
});
};
toggleDownloadForExcel() {
toggleDownloadForExcel = () => {
this.setState((prevState) => ({
downloadForExcel: !prevState.downloadForExcel,
}));
}
};
getProcessedData(): DataFrame[] {
const { options, panel } = this.props;