[ARVADOS-WORKBENCH2] created: 2.2.1-61-g1f1c5dbb
Git user
git at public.arvados.org
Mon Aug 9 02:46:39 UTC 2021
at 1f1c5dbbad160ef2cc7dc0a2cd736fefd5025d1e (commit)
commit 1f1c5dbbad160ef2cc7dc0a2cd736fefd5025d1e
Author: Stephen Smith <stephen at curii.com>
Date: Sun Aug 8 22:45:17 2021 -0400
17982: Open basic searchview on click if searchValue is empty
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 cab53403..7f5c1566 100644
--- a/src/views-components/search-bar/search-bar-view.tsx
+++ b/src/views-components/search-bar/search-bar-view.tsx
@@ -130,7 +130,7 @@ const handleInputClick = (e: React.MouseEvent, props: SearchBarViewProps) => {
props.onSetView(SearchView.AUTOCOMPLETE);
props.openSearchView();
} else {
- props.closeView();
+ props.onSetView(SearchView.BASIC);
}
};
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list