From 3971bf53236c3431a322c9769ce8bcbbd295371d Mon Sep 17 00:00:00 2001 From: Josh Romero Date: Tue, 3 May 2022 20:39:46 +0000 Subject: [PATCH] [Bug] fix missing discover context icon add back icon directive, which injects SVG Signed-off-by: Josh Romero --- 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);