X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cb690390d4f253c3bbb9c543e243cf988f39fbb3..e3521142de728bd3e45f5fcfbc1949c4a3c0652b:/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 aa4f2c1a20..2409870a2d 100644 --- a/services/workbench2/src/views/favorite-panel/favorite-panel.tsx +++ b/services/workbench2/src/views/favorite-panel/favorite-panel.tsx @@ -38,7 +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 } from 'store/multiselect/multiselect-actions'; +import { toggleOne, deselectAllOthers } from 'store/multiselect/multiselect-actions'; type CssRules = "toolbar" | "button" | "root"; @@ -173,6 +173,7 @@ export const FavoritePanel = withStyles(styles)( handleRowClick = (uuid: string) => { this.props.dispatch(toggleOne(uuid)) + this.props.dispatch(deselectAllOthers(uuid)) this.props.dispatch(loadDetailsPanel(uuid)); }