mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
InfoPopover: Fixes transclude undefined error (#17063)
This commit is contained in:
parent
74a31bd9b4
commit
6c7224c74d
@ -8,7 +8,7 @@ export function infoPopover() {
|
|||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
template: '<i class="fa fa-info-circle"></i>',
|
template: '<i class="fa fa-info-circle"></i>',
|
||||||
transclude: true,
|
transclude: true,
|
||||||
link: (scope: any, elem: any, attrs: any, transclude: any) => {
|
link: (scope: any, elem: any, attrs: any, ctrl: any, transclude: any) => {
|
||||||
const offset = attrs.offset || '0 -10px';
|
const offset = attrs.offset || '0 -10px';
|
||||||
const position = attrs.position || 'right middle';
|
const position = attrs.position || 'right middle';
|
||||||
let classes = 'drop-help drop-hide-out-of-bounds';
|
let classes = 'drop-help drop-hide-out-of-bounds';
|
||||||
|
Loading…
Reference in New Issue
Block a user