From 5637a22cd918f9a7e83aff08be93f799f045fa15 Mon Sep 17 00:00:00 2001 From: Josh Romero Date: Fri, 6 May 2022 11:44:40 -0700 Subject: [PATCH] [Bug] fix missing discover context icon (#1545) add back icon directive, which injects SVG Signed-off-by: Josh Romero (cherry picked from commit bd10227da7aab4962ae2a957e9223a70d3dcf7e3) --- src/plugins/discover/public/get_inner_angular.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/discover/public/get_inner_angular.ts b/src/plugins/discover/public/get_inner_angular.ts index d23d539895e4..6764f6caccea 100644 --- a/src/plugins/discover/public/get_inner_angular.ts +++ b/src/plugins/discover/public/get_inner_angular.ts @@ -147,6 +147,7 @@ export function initializeInnerAngularModule( ]) .config(watchMultiDecorator) .run(registerListenEventListener) + .directive('icon', (reactDirective) => reactDirective(EuiIcon)) .directive('renderComplete', createRenderCompleteDirective) .directive('discoverLegacy', createDiscoverLegacyDirective) .directive('contextErrorMessage', createContextErrorMessageDirective);