Fixed annotations enabled check from annotationsSrv, Closes #1590

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