From c79d26c2058f0397c8baa4992748e52a8eb0c418 Mon Sep 17 00:00:00 2001 From: Lisa Knox Date: Tue, 5 Nov 2024 11:28:55 -0500 Subject: [PATCH] 22199: fixed row leftclick Arvados-DCO-1.1-Signed-off-by: Lisa Knox --- .../collection-content-address-panel.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/workbench2/src/views/collection-content-address-panel/collection-content-address-panel.tsx b/services/workbench2/src/views/collection-content-address-panel/collection-content-address-panel.tsx index 866f71328e..dfc8aa09f2 100644 --- a/services/workbench2/src/views/collection-content-address-panel/collection-content-address-panel.tsx +++ b/services/workbench2/src/views/collection-content-address-panel/collection-content-address-panel.tsx @@ -9,6 +9,7 @@ import { WithStyles } from '@mui/styles'; import withStyles from '@mui/styles/withStyles'; import { CollectionIcon } from 'components/icon/icon'; import { ArvadosTheme } from 'common/custom-theme'; +import { deselectAllOthers, toggleOne } from 'store/multiselect/multiselect-actions'; import { BackIcon } from 'components/icon/icon'; import { COLLECTIONS_CONTENT_ADDRESS_PANEL_ID } from 'store/collections-content-address-panel/collections-content-address-panel-actions'; import { DataExplorer } from "views-components/data-explorer/data-explorer"; @@ -129,6 +130,8 @@ const mapDispatchToProps = (dispatch: Dispatch): CollectionContentAddressPanelAc dispatch(loadDetailsPanel(resourceUuid)); }, onItemClick: (uuid: string) => { + dispatch(toggleOne(uuid)) + dispatch(deselectAllOthers(uuid)) dispatch(loadDetailsPanel(uuid)); }, onItemDoubleClick: uuid => { -- 2.30.2