OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG] Fix glitch for save query management

Open ananzh opened this issue 1 year ago • 0 comments

Describe the bug

Every time we need to click twice in order for save as new and save changes buttons to appear.

https://github.com/opensearch-project/OpenSearch-Dashboards/assets/79961084/d9dbf83f-c168-40b2-b547-8d0cebf8b36b

From @miki: "I found before I got dragged away is that after the first time saved search is loaded, createSearchBar is called which is unsetting the prop that has saved search id, causing savedQuery to be undefined"

Expected behavior A clear and concise description of what you expected to happen.

OpenSearch Version 2.12

Dashboards Version 2.12 (with legacy table)

ananzh avatar Feb 07 '24 03:02 ananzh