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; }