From f05bddae43241c358c9414f008ccdc6fe32f93f0 Mon Sep 17 00:00:00 2001 From: Matt Abrams <37156449+zuchka@users.noreply.github.com> Date: Thu, 27 May 2021 08:58:44 -1000 Subject: [PATCH] fixes toggleDownloadForExcel function (#34685) --- public/app/features/inspector/InspectDataTab.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/inspector/InspectDataTab.tsx b/public/app/features/inspector/InspectDataTab.tsx index 01efe6966c1..e3bb8328fe8 100644 --- a/public/app/features/inspector/InspectDataTab.tsx +++ b/public/app/features/inspector/InspectDataTab.tsx @@ -131,11 +131,11 @@ export class InspectDataTab extends PureComponent { }); }; - toggleDownloadForExcel() { + toggleDownloadForExcel = () => { this.setState((prevState) => ({ downloadForExcel: !prevState.downloadForExcel, })); - } + }; getProcessedData(): DataFrame[] { const { options, panel } = this.props;