diff --git a/ui/app/components/chart-primitives/v-annotations.hbs b/ui/app/components/chart-primitives/v-annotations.hbs index 0c61c82b0..f7b13a1d1 100644 --- a/ui/app/components/chart-primitives/v-annotations.hbs +++ b/ui/app/components/chart-primitives/v-annotations.hbs @@ -5,8 +5,8 @@ type="button" title={{annotation.label}} class="indicator {{if (or - (and @key (eq-by @key annotation.annotation this.activeAnnotation)) - (and (not @key) (eq annotation.annotation this.activeAnnotation)) + (and @key (eq-by @key annotation.annotation @activeAnnotation)) + (and (not @key) (eq annotation.annotation @activeAnnotation)) ) "is-active"}}" {{on "click" (fn this.selectAnnotation annotation.annotation)}}> {{x-icon annotation.icon}}