Procházet zdrojové kódy

InfoPopover: Fixes transclude undefined error (#17063)

Torkel Ödegaard před 6 roky
rodič
revize
6c7224c74d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      public/app/core/components/info_popover.ts

+ 1 - 1
public/app/core/components/info_popover.ts

@@ -8,7 +8,7 @@ export function infoPopover() {
     restrict: 'E',
     template: '<i class="fa fa-info-circle"></i>',
     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 position = attrs.position || 'right middle';
       let classes = 'drop-help drop-hide-out-of-bounds';