Explorar el Código

InfoPopover: Fixes transclude undefined error (#17063)

Torkel Ödegaard hace 6 años
padre
commit
6c7224c74d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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';