[v9.5.x] Annotation List: Fix panel not updating when variable is changed (#66690)

This commit is contained in:
Grot (@grafanabot)
2023-09-04 12:14:11 +01:00
committed by GitHub
parent 3aff7440ee
commit 7e416a731d
@@ -74,6 +74,7 @@ export class AnnoListPanel extends PureComponent<Props, State> {
options !== prevProps.options ||
this.state.queryTags !== prevState.queryTags ||
this.state.queryUser !== prevState.queryUser ||
prevProps.renderCounter !== this.props.renderCounter ||
(options.onlyInTimeRange && timeRange !== prevProps.timeRange);
if (needsQuery) {