Commit e78b3586 by Torkel Ödegaard

Fixed annotations enabled check from annotationsSrv, Closes #1590

parent b7570485
......@@ -25,7 +25,7 @@ define([
};
this.getAnnotations = function(rangeUnparsed, dashboard) {
if (!dashboard.annotations.enable) {
if (dashboard.annotations.list.length === 0) {
return $q.when(null);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment