Explorar o código

Merge branch 'master' of github.com:torkelo/grafana-private into pro

Torkel Ödegaard %!s(int64=11) %!d(string=hai) anos
pai
achega
3e5223b98d
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/app/features/dashboard/timeSrv.js
  2. 1 1
      src/app/panels/graph/graph.js

+ 1 - 1
src/app/features/dashboard/timeSrv.js

@@ -94,7 +94,7 @@ define([
 
       // disable refresh if we have an absolute time
       if (time.to !== 'now') {
-        this.old_refresh = this.dashboard.refresh;
+        this.old_refresh = this.dashboard.refresh || this.old_refresh;
         this.set_interval(false);
       }
       else if (this.old_refresh && this.old_refresh !== this.dashboard.refresh) {

+ 1 - 1
src/app/panels/graph/graph.js

@@ -319,7 +319,7 @@ function (angular, $, kbn, moment, _, GraphTooltip) {
               types[event.annotation.name] = {
                 level: _.keys(types).length + 1,
                 icon: {
-                  icon: "icon-chevron-down",
+                  icon: "fa fa-chevron-down",
                   size: event.annotation.iconSize,
                   color: event.annotation.iconColor,
                 }