From d547d1809d9d542bb6f78718a429c71ad5033b93 Mon Sep 17 00:00:00 2001 From: ananzh Date: Wed, 30 Aug 2023 06:27:04 +0000 Subject: [PATCH] [Data Explorer][Discover 2.0] Append popout icon to oui link for doc viewer links Issue Resolve https://github.com/opensearch-project/OpenSearch-Dashboards/issues/4825 Signed-off-by: ananzh --- .../components/doc_viewer_links/doc_viewer_links.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/plugins/discover/public/application/components/doc_viewer_links/doc_viewer_links.tsx b/src/plugins/discover/public/application/components/doc_viewer_links/doc_viewer_links.tsx index f529273991a0..ea4262814bb4 100644 --- a/src/plugins/discover/public/application/components/doc_viewer_links/doc_viewer_links.tsx +++ b/src/plugins/discover/public/application/components/doc_viewer_links/doc_viewer_links.tsx @@ -4,7 +4,7 @@ */ import React from 'react'; -import { EuiFlexGroup, EuiFlexItem, EuiListGroupItem, EuiListGroupItemProps } from '@elastic/eui'; +import { EuiFlexGroup, EuiFlexItem, EuiListGroupItemProps, EuiLink } from '@elastic/eui'; import { getDocViewsLinksRegistry } from '../../../opensearch_dashboards_services'; import { DocViewLinkRenderProps } from '../../doc_views_links/doc_views_links_types'; @@ -24,10 +24,12 @@ export function DocViewerLinks(renderProps: DocViewLinkRenderProps) { }); return ( - + {listItems.map((item, index) => ( - + + {item.label} + ))}