Commit ac0d09c4 by Torkel Ödegaard

fix(): fixed issue with syncing refresh interval to url

parent 12f1ea71
...@@ -116,10 +116,12 @@ class TimeSrv { ...@@ -116,10 +116,12 @@ class TimeSrv {
} }
// update url // update url
if (interval) {
var params = this.$location.search(); var params = this.$location.search();
params.refresh = interval; params.refresh = interval;
this.$location.search(params); this.$location.search(params);
} }
}
refreshDashboard() { refreshDashboard() {
this.$rootScope.$broadcast('refresh'); this.$rootScope.$broadcast('refresh');
......
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