diff --git a/CHANGELOG.md b/CHANGELOG.md index d6d4ecbba3ea..6e98fcba3925 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - [BUG][Discover] Fix advanced setting `discover:modifyColumnsOnSwitch` ([#5508](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5508)) - [Discover] Fix missing index pattern field from breaking Discover [#5626](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5626) - [BUG] Remove duplicate sample data as id 90943e30-9a47-11e8-b64d-95841ca0b247 ([5668](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5668)) +- [Discover] Prevent wrapping of time series cells [#5779](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5779) ### 🚞 Infrastructure diff --git a/src/plugins/discover/public/application/components/default_discover_table/table_cell.tsx b/src/plugins/discover/public/application/components/default_discover_table/table_cell.tsx index 16e6a0e13716..a542e70ff646 100644 --- a/src/plugins/discover/public/application/components/default_discover_table/table_cell.tsx +++ b/src/plugins/discover/public/application/components/default_discover_table/table_cell.tsx @@ -18,6 +18,7 @@ import { DocViewFilterFn } from '../../doc_views/doc_views_types'; export interface TableCellProps { columnId: string; + isTimeField?: boolean; onFilter: DocViewFilterFn; filterable?: boolean; fieldMapping?: any; @@ -26,16 +27,14 @@ export interface TableCellProps { export const TableCell = ({ columnId, + isTimeField, onFilter, fieldMapping, sanitizedCellValue, }: TableCellProps) => { - return ( - // eslint-disable-next-line react/no-danger -