Skip to content

Commit

Permalink
fix: flux query doesn't have queryConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
vlastahajek committed Oct 17, 2024
1 parent 0580c59 commit 2711c1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/shared/components/time_series/TimeSeries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2711c1a

Please sign in to comment.