diff --git a/public/app/features/dashboard/dashlinks/module.ts b/public/app/features/dashboard/dashlinks/module.ts index fde41a08d52..c951538d45d 100644 --- a/public/app/features/dashboard/dashlinks/module.ts +++ b/public/app/features/dashboard/dashlinks/module.ts @@ -6,6 +6,7 @@ function dashLinksContainer() { return { scope: { links: '=', + dashboard: '=', }, restrict: 'E', controller: 'DashLinksContainerCtrl', @@ -20,6 +21,8 @@ function dashLink($compile, $sanitize, linkSrv) { restrict: 'E', link: (scope, elem) => { const link = scope.link; + const dashboard = scope.dashboard; + let template = '