From df0838785f7d758f6519caf5a36690ca89d4a65e Mon Sep 17 00:00:00 2001 From: Abilash inamdar Date: Wed, 11 Oct 2023 00:23:50 +0530 Subject: [PATCH] [Data Explorer] Removed X icon in data source selection. (#5238) * removed X icon in data source selection. Signed-off-by: Abhilash * updated changelog Signed-off-by: Abhilash * Update CHANGELOG.md Signed-off-by: Miki --------- Signed-off-by: Abhilash Signed-off-by: Ashwin P Chandran Signed-off-by: Miki Co-authored-by: Abhilash Co-authored-by: Ashwin P Chandran Co-authored-by: Miki --- CHANGELOG.md | 1 + .../data_sources/datasource_selector/datasource_selectable.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56ca0743f81..7c4b1bf70e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - [Data Explorer][Discover] Allow data grid to auto adjust size based on fetched data count ([#5191](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5191)) - [BUG] Fix wrong test due to time conversion ([#5174](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5174)) - [BUG][Data Explorer][Discover] Allow filter and query persist when refresh page or paste url to a new tab ([#5206](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5206)) +- [Data Explorer] Remove the `X` icon in data source selection field ([#5238](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5238)) - [BUG][Fuctional Test] Make setDefaultAbsoluteRange more robust and update doc views tests ([#5242](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5242)) ### 🚞 Infrastructure diff --git a/src/plugins/data/public/data_sources/datasource_selector/datasource_selectable.tsx b/src/plugins/data/public/data_sources/datasource_selector/datasource_selectable.tsx index 77b44c206d6..f522da79c12 100644 --- a/src/plugins/data/public/data_sources/datasource_selector/datasource_selectable.tsx +++ b/src/plugins/data/public/data_sources/datasource_selector/datasource_selectable.tsx @@ -128,6 +128,7 @@ export const DataSourceSelectable = ({ selectedOptions={selectedSources as any} onChange={handleSourceChange} singleSelection={singleSelection} + isClearable={false} async /> );