Commit ac0d09c4 by Torkel Ödegaard

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

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