diff --git a/ui/src/shared/components/AutoRefresh.js b/ui/src/shared/components/AutoRefresh.js index 9f8685a299..081364481a 100644 --- a/ui/src/shared/components/AutoRefresh.js +++ b/ui/src/shared/components/AutoRefresh.js @@ -156,7 +156,9 @@ const AutoRefresh = ComposedComponent => { lastQuerySuccessful, isFetching: false, }) - grabDataForDownload(timeSeries) + if (grabDataForDownload) { + grabDataForDownload(timeSeries) + } }) }, diff --git a/ui/src/shared/components/LayoutCell.js b/ui/src/shared/components/LayoutCell.js index 6da54921ba..f2d6ca6cda 100644 --- a/ui/src/shared/components/LayoutCell.js +++ b/ui/src/shared/components/LayoutCell.js @@ -59,7 +59,7 @@ class LayoutCell extends Component {