Browse Source

annotations: mini fix to event manager

Torkel Ödegaard 8 years ago
parent
commit
73718afb79
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/annotations/event_manager.ts

+ 1 - 1
public/app/features/annotations/event_manager.ts

@@ -58,7 +58,7 @@ export class EventManager {
   }
   }
 
 
   addFlotEvents(annotations, flotOptions) {
   addFlotEvents(annotations, flotOptions) {
-    if (this.event || annotations.length === 0) {
+    if (!this.event || annotations.length === 0) {
       return;
       return;
     }
     }