From 73718afb79476513152186d2c2a52e4f54602b16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 18 Apr 2017 17:09:06 +0200 Subject: [PATCH] annotations: mini fix to event manager --- public/app/features/annotations/event_manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/annotations/event_manager.ts b/public/app/features/annotations/event_manager.ts index 0c88eccdddf..85c41354c0d 100644 --- a/public/app/features/annotations/event_manager.ts +++ b/public/app/features/annotations/event_manager.ts @@ -58,7 +58,7 @@ export class EventManager { } addFlotEvents(annotations, flotOptions) { - if (this.event || annotations.length === 0) { + if (!this.event || annotations.length === 0) { return; }