From 90ff20461a39edb3b748cb2b09f80ec1b84ec5c6 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 3 Jun 2022 12:52:35 -0500 Subject: [PATCH] [Bug] fix missing discover context icon (#1545) (#1563) 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);