Merge branch '21379-user-activity-remote-collection'
[arvados.git] / services / workbench2 / src / views / favorite-panel / favorite-panel.tsx
index aa4f2c1a20a0637d1c3effbf839b6b1219e99974..2409870a2d233cafd2125657ef44e143f33c06ab 100644 (file)
@@ -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<any>(toggleOne(uuid))
+                this.props.dispatch<any>(deselectAllOthers(uuid))
                 this.props.dispatch<any>(loadDetailsPanel(uuid));
             }