X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/89fc1810ba39a7a0aebccba690c7bc663bca8c0b..83e7cbb4620d7e7d61c56fb25efc2069955eb78a:/services/workbench2/src/views-components/data-explorer/data-explorer.tsx diff --git a/services/workbench2/src/views-components/data-explorer/data-explorer.tsx b/services/workbench2/src/views-components/data-explorer/data-explorer.tsx index 37a15bcf77..bcf8683e89 100644 --- a/services/workbench2/src/views-components/data-explorer/data-explorer.tsx +++ b/services/workbench2/src/views-components/data-explorer/data-explorer.tsx @@ -23,8 +23,8 @@ interface Props { working?: boolean; } -const mapStateToProps = ({ progressIndicator, dataExplorer, router, multiselect, selectedResourceUuid, properties}: RootState, { id }: Props) => { - const working = !!progressIndicator.some(p => p.id === id && p.working); +const mapStateToProps = ({ progressIndicator, dataExplorer, router, multiselect, selectedResourceUuid, properties, searchBar}: RootState, { id }: Props) => { + const working = !!progressIndicator.some(p => p.working); const dataExplorerState = getDataExplorer(dataExplorer, id); const currentRoute = router.location ? router.location.pathname : ""; const isMSToolbarVisible = multiselect.isVisible; @@ -37,6 +37,7 @@ const mapStateToProps = ({ progressIndicator, dataExplorer, router, multiselect, selectedResourceUuid, checkedList: multiselect.checkedList, working, + searchBarValue: searchBar.searchValue, }; }; @@ -85,7 +86,7 @@ const mapDispatchToProps = () => { setSelectedUuid: (uuid: string | null) => { dispatch(setSelectedResourceUuid(uuid)); }, - + onRowClick, onRowDoubleClick,