Fixed annotations enabled check from annotationsSrv, Closes #1590

This commit is contained in:
Torkel Ödegaard committed 2015-03-12 15:50:39 +01:00
1 parent b757048544
commit e78b358643
1 file changed
+1 -1
@@ -25,7 +25,7 @@ define([
};
this.getAnnotations = function(rangeUnparsed, dashboard) {
if (!dashboard.annotations.enable) {
if (dashboard.annotations.list.length === 0) {
return $q.when(null);
}