Selaa lähdekoodia

Merge branch 'xginn8-master'

Torkel Ödegaard 9 vuotta sitten
vanhempi
commit
0c5abc1615
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      public/app/features/dashboard/time_srv.ts

+ 5 - 0
public/app/features/dashboard/time_srv.ts

@@ -114,6 +114,11 @@ class TimeSrv {
     } else {
     } else {
       this.cancelNextRefresh();
       this.cancelNextRefresh();
     }
     }
+
+    // update url
+    var params = this.$location.search();
+    params.refresh = interval;
+    this.$location.search(params);
   }
   }
 
 
   refreshDashboard() {
   refreshDashboard() {