X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/c324b64f3b26e79b4640b6f0cf55671f1a261bca..5dc518b45ea98f05ed4c6e02241340a03024b175:/src/views-components/data-explorer/data-explorer.tsx diff --git a/src/views-components/data-explorer/data-explorer.tsx b/src/views-components/data-explorer/data-explorer.tsx index 74c3e64a..59555707 100644 --- a/src/views-components/data-explorer/data-explorer.tsx +++ b/src/views-components/data-explorer/data-explorer.tsx @@ -15,7 +15,7 @@ import { DataColumns } from "~/components/data-table/data-table"; interface Props { id: string; onRowClick: (item: any) => void; - onContextMenu: (event: React.MouseEvent, item: any) => void; + onContextMenu?: (event: React.MouseEvent, item: any) => void; onRowDoubleClick: (item: any) => void; extractKey?: (item: any) => React.Key; } @@ -33,7 +33,7 @@ const mapDispatchToProps = () => { }, onSearch: (searchValue: string) => { - dispatch(dataExplorerActions.SET_SEARCH_VALUE({ id, searchValue })); + dispatch(dataExplorerActions.SET_EXPLORER_SEARCH_VALUE({ id, searchValue })); }, onColumnToggle: (column: DataColumn) => {