mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
fixed(share modal): fixed issue with sharemodal introduced with recent change to time handling, #2791
This commit is contained in:
parent
63665dccae
commit
0ef8e086a2
@ -44,8 +44,8 @@ function (angular, _, require, config) {
|
||||
var params = angular.copy($location.search());
|
||||
|
||||
var range = timeSrv.timeRange();
|
||||
params.from = range.from.getTime();
|
||||
params.to = range.to.getTime();
|
||||
params.from = range.from.valueOf();
|
||||
params.to = range.to.valueOf();
|
||||
|
||||
if ($scope.options.includeTemplateVars) {
|
||||
templateSrv.fillVariableValuesForUrl(params);
|
||||
|
Loading…
Reference in New Issue
Block a user