From d87c99be37153e835c85006df165638da5f6fd28 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 cae6f7fc12e1..0dedf134139c 100644 --- a/src/plugins/discover/public/get_inner_angular.ts +++ b/src/plugins/discover/public/get_inner_angular.ts @@ -149,6 +149,7 @@ export function initializeInnerAngularModule( ]) .config(watchMultiDecorator) .run(registerListenEventListener) + .directive('icon', (reactDirective) => reactDirective(EuiIcon)) .directive('renderComplete', createRenderCompleteDirective) .directive('discoverLegacy', createDiscoverLegacyDirective) .directive('contextErrorMessage', createContextErrorMessageDirective);