fix: flux query doesn't have queryConfig

pull/6105/head
vlastahajek 2024-10-17 14:07:22 +02:00
parent 0580c5943c
commit 2711c1a213
1 changed files with 2 additions and 2 deletions

View File

@ -127,13 +127,13 @@ class TimeSeries extends PureComponent<Props, State> {
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)