mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #12345 from grafana/12315_dash_links
Fix dashboard drop down links
This commit is contained in:
commit
2cbec532ee
@ -48,9 +48,11 @@ function dashLink($compile, $sanitize, linkSrv) {
|
||||
function update() {
|
||||
var linkInfo = linkSrv.getAnchorInfo(link);
|
||||
span.text(linkInfo.title);
|
||||
if (!link.asDropdown) {
|
||||
anchor.attr('href', linkInfo.href);
|
||||
sanitizeAnchor();
|
||||
|
||||
}
|
||||
elem.find('a').attr('data-placement', 'bottom');
|
||||
// tooltip
|
||||
elem.find('a').tooltip({
|
||||
title: $sanitize(scope.link.tooltip),
|
||||
|
Loading…
Reference in New Issue
Block a user