[ARVADOS-WORKBENCH2] updated: 2.2.1-63-ge31bd3f0

Git user git at public.arvados.org
Tue Aug 10 19:20:00 UTC 2021


Summary of changes:
 src/views-components/search-bar/search-bar-view.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  e31bd3f0af6e0b3d4166af144ef8aed5d110b5af (commit)
      from  4da9314a82505cd016803f806f96e5714cc59f0a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e31bd3f0af6e0b3d4166af144ef8aed5d110b5af
Author: Stephen Smith <stephen at curii.com>
Date:   Tue Aug 10 15:19:13 2021 -0400

    17982: Trigger loading saved/recent queries when clicking empty search bar
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/views-components/search-bar/search-bar-view.tsx b/src/views-components/search-bar/search-bar-view.tsx
index 7f5c1566..28408347 100644
--- a/src/views-components/search-bar/search-bar-view.tsx
+++ b/src/views-components/search-bar/search-bar-view.tsx
@@ -128,10 +128,10 @@ const handleKeyDown = (e: React.KeyboardEvent, props: SearchBarViewProps) => {
 const handleInputClick = (e: React.MouseEvent, props: SearchBarViewProps) => {
     if (props.searchValue) {
         props.onSetView(SearchView.AUTOCOMPLETE);
-        props.openSearchView();
     } else {
         props.onSetView(SearchView.BASIC);
     }
+    props.openSearchView();
 };
 
 const handleDropdownClick = (e: React.MouseEvent, props: SearchBarViewProps) => {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list