mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
Chore: Fix observable function in DashboardQueryRunnerImpl (#35398)
This commit is contained in:
parent
6d78f92816
commit
35168764c3
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user