diff --git a/changelogs/fragments/7025.yml b/changelogs/fragments/7025.yml new file mode 100644 index 000000000000..ab61343e7a2b --- /dev/null +++ b/changelogs/fragments/7025.yml @@ -0,0 +1,2 @@ +fix: +- Highlight the anchor row in surrounding doc view ([#7025](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7025)) \ No newline at end of file diff --git a/src/plugins/discover/public/application/components/default_discover_table/table_row.tsx b/src/plugins/discover/public/application/components/default_discover_table/table_row.tsx index 305af69a28ba..455230d33fda 100644 --- a/src/plugins/discover/public/application/components/default_discover_table/table_row.tsx +++ b/src/plugins/discover/public/application/components/default_discover_table/table_row.tsx @@ -48,7 +48,7 @@ const TableRowUI = ({ ]); const tableRow = ( - + = SearchResponse['hits']['hits'][number]; +export type OpenSearchSearchHit = SearchResponse['hits']['hits'][number] & { + isAnchor?: boolean; +}; export interface FieldMapping { filterable?: boolean;