From 2711c1a21327e78f4bba3e2561b5e33bd78f1c4f Mon Sep 17 00:00:00 2001 From: vlastahajek <29980246+vlastahajek@users.noreply.github.com> Date: Thu, 17 Oct 2024 14:07:22 +0200 Subject: [PATCH] fix: flux query doesn't have queryConfig --- ui/src/shared/components/time_series/TimeSeries.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/shared/components/time_series/TimeSeries.tsx b/ui/src/shared/components/time_series/TimeSeries.tsx index 4b25c7c70f..c90d26e52f 100644 --- a/ui/src/shared/components/time_series/TimeSeries.tsx +++ b/ui/src/shared/components/time_series/TimeSeries.tsx @@ -127,13 +127,13 @@ class TimeSeries extends PureComponent { const prevQueries = _.map(prevProps.queries, q => { return { text: q.text, - isManuallySubmitted: q.queryConfig.isManuallySubmitted, + isManuallySubmitted: q.queryConfig?.isManuallySubmitted, } }) const currQueries = _.map(this.props.queries, q => { return { text: q.text, - isManuallySubmitted: q.queryConfig.isManuallySubmitted, + isManuallySubmitted: q.queryConfig?.isManuallySubmitted, } }) const queriesDifferent = !_.isEqual(prevQueries, currQueries)