X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3b8d03f7063b162355bccfd71aeb2b8b67bbdbb..5a950ae4a1a50f9221c0431b97fba6387d9a976c:/services/workbench2/src/views/favorite-panel/favorite-panel.tsx diff --git a/services/workbench2/src/views/favorite-panel/favorite-panel.tsx b/services/workbench2/src/views/favorite-panel/favorite-panel.tsx index 2392d6fda0..2409870a2d 100644 --- a/services/workbench2/src/views/favorite-panel/favorite-panel.tsx +++ b/services/workbench2/src/views/favorite-panel/favorite-panel.tsx @@ -38,6 +38,7 @@ import { GroupClass, GroupResource } from 'models/group'; import { getProperty } from 'store/properties/properties'; import { PROJECT_PANEL_CURRENT_UUID } from 'store/project-panel/project-panel-action'; import { CollectionResource } from 'models/collection'; +import { toggleOne, deselectAllOthers } from 'store/multiselect/multiselect-actions'; type CssRules = "toolbar" | "button" | "root"; @@ -171,6 +172,8 @@ export const FavoritePanel = withStyles(styles)( } handleRowClick = (uuid: string) => { + this.props.dispatch(toggleOne(uuid)) + this.props.dispatch(deselectAllOthers(uuid)) this.props.dispatch(loadDetailsPanel(uuid)); }