X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2168b78443afc8bd1649ccd96e02fb1bce9b5243..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 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)); }