fixes toggleDownloadForExcel function (#34685)

This commit is contained in:
Matt Abrams 2021-05-27 08:58:44 -10:00 committed by GitHub
parent de86114b66
commit f05bddae43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,11 +131,11 @@ export class InspectDataTab extends PureComponent<Props, State> {
}); });
}; };
toggleDownloadForExcel() { toggleDownloadForExcel = () => {
this.setState((prevState) => ({ this.setState((prevState) => ({
downloadForExcel: !prevState.downloadForExcel, downloadForExcel: !prevState.downloadForExcel,
})); }));
} };
getProcessedData(): DataFrame[] { getProcessedData(): DataFrame[] {
const { options, panel } = this.props; const { options, panel } = this.props;