graph(add annotation): get alerts for all panels

This commit is contained in:
Alexander Zobnin
2017-04-12 16:06:48 +03:00
parent 232513bb4e
commit d2f3d7d138

View File

@@ -53,7 +53,7 @@ export class AnnotationsSrv {
var panel = options.panel;
var dashboard = options.dashboard;
if (panel && panel.alert) {
if (panel) {
return this.backendSrv.get('/api/annotations', {
from: options.range.from.valueOf(),
to: options.range.to.valueOf(),