From 4796ec8cd4ef3bf74c6552229d136c84642aaa3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 23 Dec 2018 07:11:24 +0100 Subject: [PATCH] Fixed dashboard links not updating after variable or time range change, fixes #14493 (cherry picked from commit 002f57ae0028ae874657995eae74c4cd809fec43) --- public/app/features/dashboard/dashlinks/module.ts | 5 ++++- public/app/features/dashboard/submenu/submenu.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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 = '
' + '
- +