mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
AnnotationList: Fix panel not updating when variable is changed (#65899)
Squashed commit of the following: commit 421bd0bb7e6220f1c0a65b60696e258003ebf91d Author: Joao Silva <joao.silva@grafana.com> Date: Tue Apr 4 10:48:04 2023 +0100 user essentials mob! 🔱 lastFile:public/app/plugins/panel/annolist/AnnoListPanel.tsx commit 862846a39d774ba78861d567b6fd42fe7e4793ad Author: joshhunt <josh@trtr.co> Date: Tue Apr 4 10:35:35 2023 +0100 user essentials mob! 🔱 commit 4ddc7febbb790ba4ff65e2739246c951a4ddbe34 Author: Tobias Skarhed <tobias.skarhed@gmail.com> Date: Tue Apr 4 11:20:08 2023 +0200 mob next [ci-skip] [ci skip] [skip ci] lastFile:public/app/plugins/panel/annolist/AnnoListPanel.tsx Co-authored-by: joshhunt <josh@trtr.co> Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user