(cherry picked from commit 35168764c3)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
This commit is contained in:
co-authored by
Hugo Häggmark
parent
6fc58b6ea0
commit
dd5b51527d
@@ -60,8 +60,8 @@ class DashboardQueryRunnerImpl implements DashboardQueryRunner {
|
||||
const alertState = result.alertStates.find((res) => Boolean(panelId) && res.panelId === panelId);
|
||||
subscriber.next({ annotations: dedupAnnotations(annotations), alertState });
|
||||
},
|
||||
error: subscriber.error,
|
||||
complete: subscriber.complete,
|
||||
error: (err) => subscriber.error(err),
|
||||
complete: () => subscriber.complete(),
|
||||
});
|
||||
return () => {
|
||||
subscription.unsubscribe();
|
||||
|
||||
Reference in New Issue
Block a user