mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
SinglestatPanel: small fix for drilldown link click while fullscreen mode, #1041
This commit is contained in:
parent
873d3d7c4a
commit
8ad83b8d58
@ -185,7 +185,7 @@ function (angular, app, _, $) {
|
|||||||
var linkInfo = linkSrv.getPanelLinkAnchorInfo(panel.links[0]);
|
var linkInfo = linkSrv.getPanelLinkAnchorInfo(panel.links[0]);
|
||||||
if (linkInfo.href[0] === '#') { linkInfo.href = linkInfo.href.substring(1); }
|
if (linkInfo.href[0] === '#') { linkInfo.href = linkInfo.href.substring(1); }
|
||||||
|
|
||||||
$timeout(function() { $location.path(linkInfo.href); });
|
$timeout(function() { $location.search({}); $location.path(linkInfo.href); });
|
||||||
|
|
||||||
drilldownTooltip.detach();
|
drilldownTooltip.detach();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user