From d2f3d7d138bde58708c61bbd2932b61847f94085 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Wed, 12 Apr 2017 16:06:48 +0300 Subject: [PATCH] graph(add annotation): get alerts for all panels --- public/app/features/annotations/annotations_srv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/annotations/annotations_srv.ts b/public/app/features/annotations/annotations_srv.ts index d3b83982f51..380cc93ead9 100644 --- a/public/app/features/annotations/annotations_srv.ts +++ b/public/app/features/annotations/annotations_srv.ts @@ -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(),