ソースを参照

Fixed annotations enabled check from annotationsSrv, Closes #1590

Torkel Ödegaard 11 年 前
コミット
e78b358643
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/app/features/annotations/annotationsSrv.js

+ 1 - 1
src/app/features/annotations/annotationsSrv.js

@@ -25,7 +25,7 @@ define([
     };
 
     this.getAnnotations = function(rangeUnparsed, dashboard) {
-      if (!dashboard.annotations.enable) {
+      if (dashboard.annotations.list.length === 0) {
         return $q.when(null);
       }