mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Fixed annotations enabled check from annotationsSrv, Closes #1590
This commit is contained in:
@@ -25,7 +25,7 @@ define([
|
||||
};
|
||||
|
||||
this.getAnnotations = function(rangeUnparsed, dashboard) {
|
||||
if (!dashboard.annotations.enable) {
|
||||
if (dashboard.annotations.list.length === 0) {
|
||||
return $q.when(null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user