Explorar el Código

Minor bug fix for rememeber refresh interval after zooming two or more times, Fixes #1408

Torkel Ödegaard hace 11 años
padre
commit
6b6b97c8d8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/app/features/dashboard/timeSrv.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) {